Spaces:
Sleeping
Sleeping
| uniform float opacity; | |
| uniform sampler2D tDiffuse; | |
| varying vec2 vUv; | |
| void main() { | |
| vec4 texel = texture2D( tDiffuse, vUv ); | |
| gl_FragColor = opacity * texel; | |
| } | |
| uniform float opacity; | |
| uniform sampler2D tDiffuse; | |
| varying vec2 vUv; | |
| void main() { | |
| vec4 texel = texture2D( tDiffuse, vUv ); | |
| gl_FragColor = opacity * texel; | |
| } | |