3D viewer EM shader: phosphor-green illumination instead of white

This commit is contained in:
trilium-share-gruvbox committed 2026-09-07 22:02:43 +02:00
1 parent 36d4a19b70
commit 2d9d5672a1
1 file changed
+1 -1
+1 -1
View File
@@ -273,7 +273,7 @@
if (RENDER_MODE === "em") {
return new THREE.ShaderMaterial({
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() }
},
vertexShader: EM_VERT,