|
@@ -43761,7 +43761,7 @@ class BatchNode extends Node {
|
|
const size = textureSize( textureLoad( this.batchMesh._indirectTexture ), 0 );
|
|
const size = textureSize( textureLoad( this.batchMesh._indirectTexture ), 0 );
|
|
const x = int( id ).remainder( int( size ) );
|
|
const x = int( id ).remainder( int( size ) );
|
|
const y = int( id ).div( int( size ) );
|
|
const y = int( id ).div( int( size ) );
|
|
- return textureLoad( this.batchMesh._indirectTexture, ivec2( x, y ), null, 'uvec4' ).x;
|
|
|
|
|
|
+ return textureLoad( this.batchMesh._indirectTexture, ivec2( x, y ) ).x;
|
|
|
|
|
|
} ).setLayout( {
|
|
} ).setLayout( {
|
|
name: 'getIndirectIndex',
|
|
name: 'getIndirectIndex',
|