Hi,
I got the following scenario:
A spline; extruded along it a line. This gives me a strip of geometry, flat 2D geometry. On it I map a car wheel drift track, you know, black rubber material.
Now the spline intersects itself multiple times and is 2D in shape, just a 2D line one the X/Y-Plane. I attach a screenshot.
Now It is obvious that some zfighting will occur but I hoped that the secondary ray bias will take care of that and that I don't have to offset the spline in Z. This is also only a layout, later one there will be many, many independant splines, and I don't want to have to accurately offset each one along z as to not get zfighting. Basically something like the "multiply" blend mode would be awesome, or the lighten one for the alpha mask.
How would I go about solving that?
I got the following scenario:
A spline; extruded along it a line. This gives me a strip of geometry, flat 2D geometry. On it I map a car wheel drift track, you know, black rubber material.
Now the spline intersects itself multiple times and is 2D in shape, just a 2D line one the X/Y-Plane. I attach a screenshot.
Now It is obvious that some zfighting will occur but I hoped that the secondary ray bias will take care of that and that I don't have to offset the spline in Z. This is also only a layout, later one there will be many, many independant splines, and I don't want to have to accurately offset each one along z as to not get zfighting. Basically something like the "multiply" blend mode would be awesome, or the lighten one for the alpha mask.
How would I go about solving that?
Comment