Anti-Distinctly
08-08-2008, 03:19 AM
I'm attempting to write a shader script, but there seems to be a problem when the preview sphere renders. I can't find out how to tell is this type of rendering is taking place or not.
The shader relies on object geometry and needs polygon IDs, which causes an error when rendering the preview sphere as I'm guessing it has no geometry.
Is there a flag or some way I can check for this situation?
The shader relies on object geometry and needs polygon IDs, which causes an error when rendering the preview sphere as I'm guessing it has no geometry.
Is there a flag or some way I can check for this situation?