Juan Lastra
Newcomer
Hello:
I am drawing trimming lines on a surface. To show the lines I put them on the top using the following call:
device.RenderState.ZBufferFunction = Compare.Always;
The lines are rendered on the top of the surface in the right way.
The problem is that the back lines (on the back of the surface) are also
drawn like black shadows. I don´t understand why it is happenning,
if these lines has an normal that isn´t visible from the camera.
Do you have some idea about it ?
I enclosed one image describing the problem:
In the image you can appreciate the front red lines, and the shadows on the back of the surface.
I am drawing trimming lines on a surface. To show the lines I put them on the top using the following call:
device.RenderState.ZBufferFunction = Compare.Always;
The lines are rendered on the top of the surface in the right way.
The problem is that the back lines (on the back of the surface) are also
drawn like black shadows. I don´t understand why it is happenning,
if these lines has an normal that isn´t visible from the camera.
Do you have some idea about it ?
I enclosed one image describing the problem:
In the image you can appreciate the front red lines, and the shadows on the back of the surface.