Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Bug #649: FOGTYPE shader semantic missing
Product:
TV3D SDK 6.5
Language:
Not Specified
Current State:
Closed
Resolution:
Fixed
Created On:
December 10th, 2006
Last Modified:
December 16th, 2006
Reported By:
Zaknafein
In the latest 6.5 DLL, the FOGSTART, FOGEND, FOGDENSITY and FOGCOLOR semantics were added, but no FOGTYPE. That makes fog rendering in SM3.0 impossible! It needs to be added to make the set complete.

It should be an int with the following possible values :
#define FOG_TYPE_NONE 0
#define FOG_TYPE_EXP 1
#define FOG_TYPE_EXP2 2
#define FOG_TYPE_LINEAR 3

Comments:

Posted by Zaknafein on January 2nd, 2007 at 9:05 AM
There seems to be a problem with that semantic (maybe related to the one that makes shaders crash if you don't define the variable)...
Even if you disable fog, its value never goes to 0! So we can't know when fog is disabled in the shader.