Integrate Aetheria reactive state worktree
This commit is contained in:
parent
426cd8f656
commit
65133ac8a0
61 changed files with 3427 additions and 402 deletions
|
|
@ -106,9 +106,9 @@ public class Slime : MonoBehaviour
|
|||
_trailKernel = SlimeCompute.FindKernel("UpdateTrailPoints");
|
||||
_geometryKernel = SlimeCompute.FindKernel("CreateTrailGeometry");
|
||||
|
||||
_accumulationTexture = new RenderTexture(TextureSize, TextureSize, 1, RenderTextureFormat.RFloat);
|
||||
_accumulationTexture = new RenderTexture(TextureSize, TextureSize, 0, RenderTextureFormat.RFloat);
|
||||
_accumulationTexture.enableRandomWrite = true;
|
||||
_previousAccumulationTexture = new RenderTexture(TextureSize, TextureSize, 1, RenderTextureFormat.RFloat);
|
||||
_previousAccumulationTexture = new RenderTexture(TextureSize, TextureSize, 0, RenderTextureFormat.RFloat);
|
||||
_previousAccumulationTexture.enableRandomWrite = true;
|
||||
AccumulationMaterial.SetTexture("_MainTex", _accumulationTexture);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue