2
0
Эх сурвалжийг харах

instance support available for all backends (#28596)

Co-authored-by: aardgoose <[email protected]>
aardgoose 1 жил өмнө
parent
commit
b9f3f59ab2

+ 1 - 1
examples/jsm/nodes/materials/NodeMaterial.js

@@ -232,7 +232,7 @@ class NodeMaterial extends Material {
 
 		}
 
-		if ( ( object.instanceMatrix && object.instanceMatrix.isInstancedBufferAttribute === true ) && builder.isAvailable( 'instance' ) === true ) {
+		if ( ( object.instanceMatrix && object.instanceMatrix.isInstancedBufferAttribute === true ) ) {
 
 			instance( object ).append();
 

+ 0 - 1
examples/jsm/renderers/webgl/nodes/GLSLNodeBuilder.js

@@ -20,7 +20,6 @@ const precisionLib = {
 };
 
 const supports = {
-	instance: true,
 	swizzleAssign: true
 };
 

+ 0 - 1
examples/jsm/renderers/webgpu/nodes/WGSLNodeBuilder.js

@@ -26,7 +26,6 @@ const gpuShaderStageLib = {
 };
 
 const supports = {
-	instance: true,
 	storageBuffer: true
 };