Spaces:
Running
Running
Update tooltips.js
Browse files- tooltips.js +3 -0
tooltips.js
CHANGED
|
@@ -46,6 +46,9 @@ export async function initializeTooltips(options) {
|
|
| 46 |
mat.diffuse = new pc.Color(1, 0.8, 0);
|
| 47 |
mat.specular = new pc.Color(1, 1, 1);
|
| 48 |
mat.shininess = 20;
|
|
|
|
|
|
|
|
|
|
| 49 |
mat.update();
|
| 50 |
|
| 51 |
// Build each tooltip sphere + attach custom data
|
|
|
|
| 46 |
mat.diffuse = new pc.Color(1, 0.8, 0);
|
| 47 |
mat.specular = new pc.Color(1, 1, 1);
|
| 48 |
mat.shininess = 20;
|
| 49 |
+
mat.emissive = new pc.Color(1, 0.8, 0); // Strong orange emissive
|
| 50 |
+
mat.emissiveIntensity = 2; // Brightness, tweak as needed
|
| 51 |
+
mat.useLighting = false; // Optional: disables effect of lights, makes it "self-lit"
|
| 52 |
mat.update();
|
| 53 |
|
| 54 |
// Build each tooltip sphere + attach custom data
|