Commit Graph

2 Commits (1cfc1f9bdb32618d46acbd72f26f138f7a7473c0)

Author SHA1 Message Date
scrawl 9e9c028f1d Skip light collection for far away terrain 8 years ago
scrawl eef63a880a terrain: use a custom drawable for multi-pass render instead of osgFX::Effect
osgFX::Effect is awkward to use because of the lazy-definition of passes, no support for compileGLObjects, useless 'Technique' abstraction and having to define silly methods like 'effectAuthor()'

Handling the multi-pass rendering inside the Drawable also avoids redundant culling tests against the same bounding box for each pass.
8 years ago