devNotes 8-28-16 Compute And Geometry Shaders
using UnityEngine; using System.Collections; public class ComputeShaderOutput : MonoBehaviour { public ComputeShader computeShader; public const int VertCount = 10 * 10 * 10 * 10 * 10 * 10; public ComputeBuffer outputBuffer; public Shader pointShader; Material PointMaterial; public bool debugRender = false; int CSKernel; void InitializeBuffers() { outputBuffer = new ComputeBuffer(VertCount, (sizeof(float) * 3) + … Continue reading devNotes 8-28-16 Compute And Geometry Shaders
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed