diff options
author | hwc487 | 2012-03-09 15:11:48 -0800 |
---|---|---|
committer | hwc487 | 2012-03-09 15:11:48 -0800 |
commit | 9e048d2cf359c305e895fe7c0bebf09016896531 (patch) | |
tree | 0d75cbc395e07037241113cad3d8dd1b0b92b4ab /js/helper-classes/RDGE/src/core/script/fx/ssao.js | |
parent | ba0e84e74293c10817f9377f66c9dcfa0a15ce60 (diff) | |
download | ninja-9e048d2cf359c305e895fe7c0bebf09016896531.tar.gz |
remap hard coded strings in rdge internal code.
Diffstat (limited to 'js/helper-classes/RDGE/src/core/script/fx/ssao.js')
-rwxr-xr-x | js/helper-classes/RDGE/src/core/script/fx/ssao.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/src/core/script/fx/ssao.js b/js/helper-classes/RDGE/src/core/script/fx/ssao.js index 05793594..9761b02d 100755 --- a/js/helper-classes/RDGE/src/core/script/fx/ssao.js +++ b/js/helper-classes/RDGE/src/core/script/fx/ssao.js | |||
@@ -32,7 +32,7 @@ function fxSSAO(enHRDepth) | |||
32 | } | 32 | } |
33 | 33 | ||
34 | // Load random normal texture | 34 | // Load random normal texture |
35 | this.randTexture = createTexture(gl, "assets/images/random_normal.png"); | 35 | this.randTexture = createTexture(gl, g_Engine._assetPath+"images/random_normal.png"); |
36 | gl.bindTexture(gl.TEXTURE_2D, this.randTexture); | 36 | gl.bindTexture(gl.TEXTURE_2D, this.randTexture); |
37 | gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MIN_FILTER,gl.LINEAR); | 37 | gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MIN_FILTER,gl.LINEAR); |
38 | gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_S,gl.REPEAT); | 38 | gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_S,gl.REPEAT); |