3D viewer EM shader: phosphor-green illumination instead of white
This commit is contained in:
@@ -273,7 +273,7 @@
|
|||||||
if (RENDER_MODE === "em") {
|
if (RENDER_MODE === "em") {
|
||||||
return new THREE.ShaderMaterial({
|
return new THREE.ShaderMaterial({
|
||||||
uniforms: {
|
uniforms: {
|
||||||
uColor: { value: new THREE.Color(0xd6d6d6) },
|
uColor: { value: new THREE.Color(0x66ff88) },
|
||||||
uLightDir: { value: new THREE.Vector3(0.6, 0.9, 0.4).normalize() }
|
uLightDir: { value: new THREE.Vector3(0.6, 0.9, 0.4).normalize() }
|
||||||
},
|
},
|
||||||
vertexShader: EM_VERT,
|
vertexShader: EM_VERT,
|
||||||
|
|||||||
Reference in New Issue
Block a user