Skip to content

Commit 2e499ec

Browse files
committed
imp: fix prim color space
1 parent 165b62a commit 2e499ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/nodes/Prim.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ const getMaterial = props => {
124124
}
125125

126126
const material = new THREE.MeshStandardMaterial({
127-
color: new THREE.Color(props.color),
128-
emissive: props.emissive ? new THREE.Color(props.emissive) : new THREE.Color(0x000000),
127+
color: props.color,
128+
emissive: props.emissive,
129129
emissiveIntensity: props.emissiveIntensity,
130130
metalness: props.metalness,
131131
roughness: props.roughness,

0 commit comments

Comments
 (0)