1
0

__shdBulbSoftShadows.fsh 201 B

12345678
  1. precision highp float;
  2. varying vec2 v_vTexcoord;
  3. void main()
  4. {
  5. gl_FragColor = vec4(0.0, 0.0, 0.0, smoothstep(0.0, 1.0, v_vTexcoord.x / (1.0 - v_vTexcoord.y))); //Emulation of a penumbra texture
  6. }