mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
[threejs] Fix color in fragment shader of log depth buffer example.
This commit is contained in:
parent
8e84ad990d
commit
c56c9b5cef
@ -128,7 +128,7 @@
|
||||
void main(void) {
|
||||
#include <logdepthbuf_fragment>
|
||||
|
||||
gl_FragColor = vec4(1, 0, 1, 1); // texture2D(map, vUv)*vColor;
|
||||
gl_FragColor = texture2D(map, vUv)*vColor;
|
||||
#ifdef USE_SPINE_ALPHATEST
|
||||
if (gl_FragColor.a < alphaTest) discard;
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user