Revision 35e7d841
Added by Leszek Koltunski over 3 years ago
src/main/res/raw/main_fragment_shader.glsl | ||
---|---|---|
120 | 120 |
diff = (v_Position - fUniforms[effect+1].yzw)/fUniforms[effect+2].xyz; |
121 | 121 |
degree = max(0.0,1.0-dot(diff,diff)); |
122 | 122 |
|
123 |
color.a *= (degree*(fUniforms[effect].x-1.0)+1.0); |
|
124 |
|
|
125 | 123 |
// ENABLED EFFECTS WILL BE INSERTED HERE |
126 | 124 |
|
127 | 125 |
effect+=3; |
Also available in: Unified diff
Bugfix.