}
static int heat_haze_shader_callback( ssgEntity *e ) {
+ if( ! ((SGShadowAnimation *)e->getUserData())->get_condition_value() )
+ return true;
+
GLuint dlist = 0;
ssgLeaf *leaf = (ssgLeaf *) e;
#ifdef _SSG_USE_DLIST
}
static int fresnel_shader_callback( ssgEntity *e ) {
+ if( ! ((SGShadowAnimation *)e->getUserData())->get_condition_value() )
+ return true;
+
GLuint dlist = 0;
ssgLeaf *leaf = (ssgLeaf *) e;
#ifdef _SSG_USE_DLIST
static int chrome_shader_callback( ssgEntity *e ) {
+ if( ! ((SGShadowAnimation *)e->getUserData())->get_condition_value() )
+ return true;
+
GLuint dlist = 0;
ssgLeaf *leaf = (ssgLeaf *) e;
#ifdef _SSG_USE_DLIST