- Home /
Strange, triangle shaped holes appearing in my applied shader.
I cannot post the Shader code itself, but I was wondering if there is some common problem that occurs for Shaders where this would happen.
Looks like z fighting. Check for almost-coplanar polygons, and also make sure your camera near/far clip planes are reasonably tight around the geometric extent of your world.
It is almost impossible to guess what you are doing just from the picture, maybe transparency, maybe the depth buffer? You will probably have to give some shader code.
Answer by Statement · Jan 11, 2011 at 10:37 PM
Looks to me you're discarding pixels in a pixel shader, or having multiple passes where you end up with Z buffer fighting due to previous pass overlay. Sorry for the vague answer but you don't provide much information. :)
Are you messing around with the mesh in any way? Just considering there might be some issues if not all data channels are populated... It looks linked with vertex data from the shapes.
Your answer
Follow this Question
Related Questions
alpha cutoff shader from map on map with already existing alpha channel 1 Answer
Shader compilation fails for Wii-U 2 Answers
RimLight Shader 0 Answers
Stopping 3D text from showing through game objects in free unity. 1 Answer
Allow 2D sprite to receive light from any direction and show on both sides 0 Answers