Radegast.Rendering.SceneWindow.InitWater C# (CSharp) Method

InitWater() private method

private InitWater ( ) : void
return void
        void InitWater()
        {
            Bitmap normal = (Bitmap)Bitmap.FromFile(System.IO.Path.Combine("shader_data", "normalmap.png"));
            reflectionTexture = RHelp.GLLoadImage(normal, false);
            refractionTexture = RHelp.GLLoadImage(normal, false);
            normalmap = RHelp.GLLoadImage(normal, false);
            depthTexture = RHelp.GLLoadImage(normal, false);
            dudvmap = RHelp.GLLoadImage((Bitmap)Bitmap.FromFile(System.IO.Path.Combine("shader_data", "dudvmap.png")), false);
            waterProgram.Load("water.vert", "water.frag");
        }
SceneWindow