Increases frequency of flickering.
This commit is contained in:
parent
451a0836cf
commit
c89ce83fb3
@ -29,7 +29,7 @@ const float begin_2 = 0;
|
||||
const float end_2 = 3;
|
||||
|
||||
float flickerFunction() {
|
||||
return pow(0.6*sin(10.0*time), 2) + 0.4;
|
||||
return pow(0.6*sin(20.0*time), 2) + 0.4;
|
||||
}
|
||||
|
||||
float radiusFunction(float x) {
|
||||
|
@ -65,7 +65,7 @@ vec2 poissonDisk[16] = vec2[](
|
||||
);
|
||||
|
||||
float flickerFunction() {
|
||||
return pow(0.6*sin(10.0*time), 2) + 0.4;
|
||||
return pow(0.6*sin(20.0*time), 2) + 0.4;
|
||||
}
|
||||
|
||||
float sampleDirectionalShadow(sampler2DShadow shadowMap, vec4 shadowCoord, float maxBias ) {
|
||||
|
Loading…
Reference in New Issue
Block a user