Skip to content

Commit

Permalink
Examples: Rename *NodeMaterial to THREE.*NodeMaterial (#28769)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunag authored Jun 30, 2024
1 parent b32f4e9 commit 9d5853b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/webgpu_refraction.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<script type="module">

import * as THREE from 'three';
import { MeshBasicNodeMaterial, viewportSharedTexture, texture, uv } from 'three/tsl';
import { viewportSharedTexture, texture, uv } from 'three/tsl';

import { OrbitControls } from 'three/addons/controls/OrbitControls.js';

Expand Down Expand Up @@ -71,7 +71,7 @@

const planeGeo = new THREE.PlaneGeometry( 100.1, 100.1 );

const planeRefractor = new THREE.Mesh( planeGeo, new MeshBasicNodeMaterial( {
const planeRefractor = new THREE.Mesh( planeGeo, new THREE.MeshBasicNodeMaterial( {
backdropNode: verticalRefractor
} ) );
planeRefractor.material.transparent = true;
Expand Down

0 comments on commit 9d5853b

Please sign in to comment.