public void Setup(RenderPassEvent @event, RenderTargetIdentifier source, RenderTargetHandle destination, RayMarchingProcessData data) { m_Data = data; renderPassEvent = @event; m_ColorAttachment = source; m_Destination = destination; m_Materials = new MaterialLibrary(data); }
public MaterialLibrary(RayMarchingProcessData data) { rayMarching = Load(Shader.Find("Custom/RayMarching/shadertoy")); }