Shader optimizations
This commit is contained in:
@ -24,7 +24,7 @@ public class Player : MonoBehaviour
|
||||
|
||||
VoxelRaycastGPU.Ray[] rays = new VoxelRaycastGPU.Ray[rayCount];
|
||||
FillRaysArray(rays);
|
||||
voxelManager.gpuRayCaster.Init(rayCount, rays, 3);
|
||||
voxelManager.gpuRayCaster.Init(rayCount, rays, 5);
|
||||
}
|
||||
|
||||
void Cast( ref VoxelRaycastGPU.BatchData[] batchData, int batchCount, int iIteration )
|
||||
|
||||
Reference in New Issue
Block a user