Преглед изворни кода

GPUEmitter.hx lifeTime as DFloat

clementlandrin пре 10 месеци
родитељ
комит
b0c37acdf5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      hrt/prefab/fx/gpuemitter/GPUEmitter.hx

+ 1 - 1
hrt/prefab/fx/gpuemitter/GPUEmitter.hx

@@ -120,7 +120,7 @@ class GPUEmitterObject extends h3d.scene.MeshBatch {
 		var p = dataPasses;
 		var particleBufferFormat = hxd.BufferFormat.make([
 			{ name : "speed", type : DVec3 },
-			{ name : "lifeTime", type : DVec4 }]
+			{ name : "lifeTime", type : DFloat }]
 		);
 		while ( p != null ) {
 			if ( particleBuffer.buffer == null )