aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE/src/core/script/fx
diff options
context:
space:
mode:
authorKris Kowal2012-07-06 11:53:10 -0700
committerKris Kowal2012-07-06 15:01:48 -0700
commit04343eda8c2f870b0da55cfdc8003c99fe1cc4de (patch)
tree0a6048889b65bb16ff58822e55bc1346e9eb07bd /js/helper-classes/RDGE/src/core/script/fx
parent648ee61ae84216d0236e0dbc211addc13b2cfa3a (diff)
downloadninja-04343eda8c2f870b0da55cfdc8003c99fe1cc4de.tar.gz
Remove trailing spaces
Diffstat (limited to 'js/helper-classes/RDGE/src/core/script/fx')
-rwxr-xr-xjs/helper-classes/RDGE/src/core/script/fx/blur.js8
-rwxr-xr-xjs/helper-classes/RDGE/src/core/script/fx/ssao.js8
2 files changed, 8 insertions, 8 deletions
diff --git a/js/helper-classes/RDGE/src/core/script/fx/blur.js b/js/helper-classes/RDGE/src/core/script/fx/blur.js
index f105a391..a8788968 100755
--- a/js/helper-classes/RDGE/src/core/script/fx/blur.js
+++ b/js/helper-classes/RDGE/src/core/script/fx/blur.js
@@ -38,7 +38,7 @@ RDGE.fx = RDGE.fx || {};
38* See http://prideout.net/archive/bloom/ 38* See http://prideout.net/archive/bloom/
39* @param mipSizes - up to three pow2 mip sizes to be separately blurred 39* @param mipSizes - up to three pow2 mip sizes to be separately blurred
40* and combined with the src image, e.g. [256,128,64] 40* and combined with the src image, e.g. [256,128,64]
41* @param enAuxTexture - true to enable an extra texture to be added to 41* @param enAuxTexture - true to enable an extra texture to be added to
42* the weighted blur mips (see doBlur) 42* the weighted blur mips (see doBlur)
43*/ 43*/
44RDGE.fx.fxBlur = function (mipSizes, enAuxTexture) { 44RDGE.fx.fxBlur = function (mipSizes, enAuxTexture) {
@@ -140,10 +140,10 @@ RDGE.fx.fxBlur = function (mipSizes, enAuxTexture) {
140* See http://prideout.net/archive/bloom/ 140* See http://prideout.net/archive/bloom/
141* @param srcTexture - source image to blur 141* @param srcTexture - source image to blur
142* @param dstRenderTarget - where to put the result of the blur 142* @param dstRenderTarget - where to put the result of the blur
143* @param weights - array of 4 blend weights for the blurred mip levels 143* @param weights - array of 4 blend weights for the blurred mip levels
144* levels in the form [srcTexture-weight, mip0-weight, 144* levels in the form [srcTexture-weight, mip0-weight,
145* mip1-weight, mip2-weight] 145* mip1-weight, mip2-weight]
146* @param auxTexture - null, else an extra texture to be added to the 146* @param auxTexture - null, else an extra texture to be added to the
147* weighted blur mips 147* weighted blur mips
148*/ 148*/
149RDGE.fx.fxBlur.prototype.doBlur = function (srcTexture, dstRenderTarget, weights, auxTexture) { 149RDGE.fx.fxBlur.prototype.doBlur = function (srcTexture, dstRenderTarget, weights, auxTexture) {
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 e88beef5..39abf523 100755
--- a/js/helper-classes/RDGE/src/core/script/fx/ssao.js
+++ b/js/helper-classes/RDGE/src/core/script/fx/ssao.js
@@ -90,10 +90,10 @@ RDGE.fx.fxSSAO = function (enHRDepth) {
90* @param srcTexColor - color surface of rendered scene 90* @param srcTexColor - color surface of rendered scene
91* @param srcTexNormDepth - screenspace normal+depth surface for scene; {nx, ny, nz, depth} 91* @param srcTexNormDepth - screenspace normal+depth surface for scene; {nx, ny, nz, depth}
92* @param dstRenderTarget - where to put the result of SSAO 92* @param dstRenderTarget - where to put the result of SSAO
93* @param sampleRadius - 93* @param sampleRadius -
94* @param intensity - 94* @param intensity -
95* @param distScale - 95* @param distScale -
96* @param bias - 96* @param bias -
97*/ 97*/
98RDGE.fx.fxSSAO.prototype.doSSAO = function (srcTexColor, srcTexNormDepth, srcTexHRDepth, dstRenderTarget, sampleRadius, intensity, distScale, bias) { 98RDGE.fx.fxSSAO.prototype.doSSAO = function (srcTexColor, srcTexNormDepth, srcTexHRDepth, dstRenderTarget, sampleRadius, intensity, distScale, bias) {
99 // Set art params and other uniforms 99 // Set art params and other uniforms