fireball/lib/renderers/shaders/ShaderLib/shadow_frag.glsl

19 lines
340 B
Plaintext
Raw Normal View History

2018-12-25 13:59:22 +00:00
uniform vec3 color;
uniform float opacity;
#include <common>
#include <packing>
#include <fog_pars_fragment>
#include <bsdfs>
#include <lights_pars_begin>
#include <shadowmap_pars_fragment>
#include <shadowmask_pars_fragment>
void main() {
gl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );
#include <fog_fragment>
}