]> git.tdb.fi Git - libs/gl.git/blobdiff - source/occludedscene.cpp
Write the occluder shader in GLSL
[libs/gl.git] / source / occludedscene.cpp
index b3219123e8a2ed777d1a3a75d3691864e943712b..8a3b74262430fcc134884b04c8d17c17bd8fd5a3 100644 (file)
@@ -14,7 +14,7 @@ namespace GL {
 
 OccludedScene::OccludedScene():
        bounding_mesh((VERTEX3, NORMAL3)),
-       bounding_shader(ProgramBuilder::StandardFeatures()),
+       bounding_shader("occluder.glsl"),
        occluder_min_size(0.25f),
        cache_dirty(false)
 {