Skip to content

Commit

Permalink
rename array -> attributeArray
Browse files Browse the repository at this point in the history
  • Loading branch information
sunag committed Nov 23, 2024
1 parent bcf8d93 commit 6cdfde1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/jsm/tsl/lighting/TiledLightsNode.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {
array, nodeProxy, int, float, vec2, ivec2, ivec4, uniform, Break, Loop,
attributeArray, nodeProxy, int, float, vec2, ivec2, ivec4, uniform, Break, Loop,
Fn, If, Return, textureLoad, instanceIndex, screenCoordinate, directPointLight,
LightsNode, NodeUpdateType
} from 'three/tsl';
Expand Down Expand Up @@ -290,7 +290,7 @@ class TiledLightsNode extends LightsNode {
const lightsTexture = new DataTexture( lightsData, lightsData.length / 8, 2, RGBAFormat, FloatType );

const lightIndexesArray = new Int32Array( count * 4 * 2 );
const lightIndexes = array( lightIndexesArray, 'ivec4' ).label( 'lightIndexes' );
const lightIndexes = attributeArray( lightIndexesArray, 'ivec4' ).label( 'lightIndexes' );

// compute

Expand Down

0 comments on commit 6cdfde1

Please sign in to comment.