Browse Source

Removed gaussianPdf from common.glsl. Fixes #10113

Mr.doob 8 years ago
parent
commit
e9122654d2
1 changed files with 0 additions and 6 deletions
  1. 0 6
      src/renderers/shaders/ShaderChunk/common.glsl

+ 0 - 6
src/renderers/shaders/ShaderChunk/common.glsl

@@ -73,12 +73,6 @@ vec3 linePlaneIntersect( in vec3 pointOnLine, in vec3 lineDirection, in vec3 poi
 
 }
 
-float gaussianPdf(in float x, in float sigma) {
-
-	return 0.39894 * exp( -0.5 * x * x/( sigma * sigma))/sigma;
-
-}
-
 mat3 transpose( const in mat3 v ) {
 
     mat3 tmp;