| Up | Entries: | 1 | 2 | 3 | 4 | setup |
To help debug shaders, I usually reduce the anti-aliasing performed by the renderer. Leaving the anti-aliasing on will tend to cover up problems in the shader. For 3Delight, this can be done by adding the following options to the rib file:
PixelSamples 1 1 Hider "hidden" "jitter" 0 PixelFilter "box" 1 1
Here are a couple of images showing the difference between the two settings, using a very simple surface shader:
Ci = 0.5*step(t, s); | |
|
|
Quick Note: There are some jpeg compression artifacts in these images so the non-supersampled version doesn't look as aliased as it really is.
| Up | Entries: | 1 | 2 | 3 | 4 | setup |