Th3Ya0vi / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

Impostor generation broken #108

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Impostor generation is broken (They look all white) since vegetation objects 
have their own shaders. (No one noticed until now because it was using 
impostors from cache)

It looks like this is due to our shaders not handling fog mode NONE (which 
paged-geom sets immediately before rendering the impostors).

Original issue reported on code.google.com by scrawl...@gmail.com on 11 Nov 2011 at 4:41

GoogleCodeExporter commented 8 years ago
Fixed with a workaround (don't do fog in shader if linear end == default value 
1.0)

Original comment by scrawl...@gmail.com on 12 Nov 2011 at 11:43