About 15,100 results
Open links in new tab
  1. Unity - how to make material double sided - Stack Overflow

    Like camera inside a sphere I do not see cull and/or sides in material in Unity editor. In C# rend = GetComponent<Renderer>(); mater = rend.material; rend.setFaceCulling( "front", "ccw" ); …

  2. How to transparent Unity3D custom shader? - Stack Overflow

    The shader as posted appears to work correctly when applied in Unity. Are you perhaps trying to access the _Color property from a script or something?

  3. How to avoid Unity Complie all Standard shader variants

    May 3, 2018 · When add Standard Shader to Graphics——Always Include Shaders, Unity always stucks in sharedassets0.asset. I know it's unity complies shader variants in the background. …

  4. unity game engine - WebGL URP materials pink when build but …

    Sep 3, 2024 · 0 My problem is very similar to Unity WebGL ok in editor, pink screen in build but the offered solution does not work. Like in the question, the materials look fine viewed in the …

  5. unity game engine - How to define an array of floats in Shader ...

    ComputeShader programs often need arbitrary data to be read & written into memory buffers. ComputeBuffer class is exactly for that - you can create & fill them from script code, and use …

  6. How to fix my materials that are pink even the unity starter code …

    Mar 2, 2023 · The shader is incompatible with the universal render pipeline. When you create a new lit shader you get the boilerplate code for a shader that is intended to work with the …

  7. unity game engine - shader graph always displaying a pink texture ...

    Jan 13, 2022 · I am definitely quite new to shader graphs, or just shaders in general. I had decided to follow a tutorial by code monkey to try and figure out shader graphs but havent …

  8. Do conditional statements slow down shaders? - Stack Overflow

    I want to know if "if-statements" inside shaders (vertex / fragment / pixel...) are really slowing down the shader performance. For example: Is it better to use this: vec3 output; output = input*...

  9. Convert custom shader to URP in Unity - Stack Overflow

    Dec 5, 2023 · I'm working on a VR project in Unity that involves rendering 360 videos inside a sphere GameObject. Originally, the setup worked well using a custom shader that allowed the …

  10. In unity custom shader materials appear pink - Stack Overflow

    Jul 10, 2022 · I'm using Unity 2020.3.20f1. I created a 3D object (sphere) and applied a material which has a custom shader. Now the whole sphere appears pink. I'm using URP, but I added it …