From 9e048d2cf359c305e895fe7c0bebf09016896531 Mon Sep 17 00:00:00 2001 From: hwc487 Date: Fri, 9 Mar 2012 15:11:48 -0800 Subject: remap hard coded strings in rdge internal code. --- js/helper-classes/RDGE/src/core/script/fx/ssao.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/helper-classes/RDGE/src/core/script/fx/ssao.js') 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) } // Load random normal texture - this.randTexture = createTexture(gl, "assets/images/random_normal.png"); + this.randTexture = createTexture(gl, g_Engine._assetPath+"images/random_normal.png"); gl.bindTexture(gl.TEXTURE_2D, this.randTexture); gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MIN_FILTER,gl.LINEAR); gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_S,gl.REPEAT); -- cgit v1.2.3