Skip to content

Commit 2ccf57e

Browse files
committed
comments
1 parent e9c15b9 commit 2ccf57e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

example/utils/MaterialOrbLoader.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { MeshPhysicalMaterial, RectAreaLight, SRGBColorSpace } from 'three';
22
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
33

44
// TODO: this scene should technically be rendered at a 1000x smaller scale
5+
// TODO: it would be nice to round the orb 3d model a bit more
56

67
const ORB_SCENE_URL = 'https://raw.githubusercontent.com/gkjohnson/3d-demo-data/main/models/usd-shader-ball/usd-shaderball-scene.glb';
78
function assignWatts( light, watts ) {
@@ -59,9 +60,10 @@ export class MaterialOrbSceneLoader {
5960

6061
}
6162

63+
// TODO: this should be colored by a texture that says "Sub-Surface Bar"
6264
if ( c.name === 'sss_bars' ) {
6365

64-
c.material.color.setRGB( 0.18, 0.18, 0.18, SRGBColorSpace );
66+
c.material.color.setRGB( 0.01, 0.01, 0.01, SRGBColorSpace );
6567

6668
}
6769

0 commit comments

Comments
 (0)