[gemini] Re-implement glass floor sections (#483) (#492)
Some checks failed
Deploy Nexus / deploy (push) Failing after 3s
Some checks failed
Deploy Nexus / deploy (push) Failing after 3s
This commit was merged in pull request #492.
This commit is contained in:
11
app.js
11
app.js
@@ -303,10 +303,13 @@ function createLighting() {
|
||||
// ═══ FLOOR ═══
|
||||
function createFloor() {
|
||||
const platGeo = new THREE.CylinderGeometry(25, 25, 0.3, 6);
|
||||
const platMat = new THREE.MeshStandardMaterial({
|
||||
color: 0x0a0f1a,
|
||||
roughness: 0.8,
|
||||
metalness: 0.3,
|
||||
const platMat = new THREE.MeshPhysicalMaterial({
|
||||
color: NEXUS.colors.bg,
|
||||
transparent: true,
|
||||
opacity: 0.2,
|
||||
transmission: 0.9,
|
||||
roughness: 0.1,
|
||||
metalness: 0.2,
|
||||
});
|
||||
const platform = new THREE.Mesh(platGeo, platMat);
|
||||
platform.position.y = -0.15;
|
||||
|
||||
Reference in New Issue
Block a user