]> git.tdb.fi Git - libs/gl.git/blobdiff - demos/forestpond/source/water.h
Remove the separate clamping step from forest pond fluid simulation
[libs/gl.git] / demos / forestpond / source / water.h
index 88bf93590da6579189075553be1ff41bd384c6cb..3ef5862adabbdd45373145850796d21fd62ec435 100644 (file)
@@ -22,7 +22,6 @@ private:
        {
                Msp::GL::Texture2D surface;
                Msp::GL::Texture2D velocity;
-               Msp::GL::Texture2D clamping;
        };
 
        unsigned width;
@@ -40,7 +39,6 @@ private:
        const Msp::GL::Sampler &sampler;
        const Msp::GL::Program &sim_integrate;
        const Msp::GL::Program &sim_velocity;
-       const Msp::GL::Program &sim_clamp;
        const Msp::GL::Program &normals_shader;
        const Msp::GL::Program &variance_x_shader;
        const Msp::GL::Program &variance_y_shader;