- Home /
Overlapping surfaces problem
When i make two meshes (planes or cubes) overlap, the color in between the two is rendered in a different color. This is an image of what's happening in my scene:
I'm using Toon shaders in my project, so in the case of the river i'm trying to make, i used Toon/Lit shader because it renders shadows. I also tried other shaders without luck.
I think the problem is related to this other answer and i tried the solution for that, which is to use a shader that doesn't render the overlapping part, but it doesn't render shadows also, which i need. I also tried making the river using plane meshes and put them in slightly different Z position, but doesn't help much.
Can i solve this inside Unity (different shader/other solutions) or do i have to create the complete river mesh outside Unity and import it?
Your answer
Follow this Question
Related Questions
Shader - Hide self overlapping mesh 1 Answer
Have part of mesh change color 0 Answers
Dymanic Mesh Hiding 2 Answers
2D Sprite Shader Acting like Light 0 Answers