0

screenshot As you can see lines disappear at the end and it also flickers when moving the camera.

I am rendering these lines using shader graph UV node and smoothstep. there is nothing suspicious going on in the shader graph code so I have not included it.

I am using "Single" precision float.

I tried:

  • Turning off every setting in the renderer but didn't work.
  • Using bunch of smaller tiles instead of a single large floor.
  • Using built-in renderer instead of URP.
  • Rewriting shader in vanilla HLSL instead of shader graph.
2
  • This might be helpful to you bgolus.medium.com/the-best-darn-grid-shader-yet-727f9278b9d8 Commented Nov 22, 2023 at 18:49
  • 1
    That helped immensely thank you, ultimately I tried doing the same thing, but mine was way more hacky, this one is neat Commented Nov 26, 2023 at 18:34

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.