diff options
Diffstat (limited to 'js/helper-classes/RDGE/src/core/script/fx')
-rwxr-xr-x | js/helper-classes/RDGE/src/core/script/fx/blur.js | 8 | ||||
-rwxr-xr-x | js/helper-classes/RDGE/src/core/script/fx/ssao.js | 8 |
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 | */ |
44 | RDGE.fx.fxBlur = function (mipSizes, enAuxTexture) { | 44 | RDGE.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 | */ |
149 | RDGE.fx.fxBlur.prototype.doBlur = function (srcTexture, dstRenderTarget, weights, auxTexture) { | 149 | RDGE.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 | */ |
98 | RDGE.fx.fxSSAO.prototype.doSSAO = function (srcTexColor, srcTexNormDepth, srcTexHRDepth, dstRenderTarget, sampleRadius, intensity, distScale, bias) { | 98 | RDGE.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 |