#Combining ECS with Compute Shader
1 messages · Page 1 of 1 (latest)
that's partially how Entities graphics package works
grabs ecs data, dispatches compute shader for deformations
NativeArrays can be passed directly into compute buffers, so sending data to a shader is super easy actually.
Here's a very hamfisted way of doing it I used in the dots community challenge: https://github.com/ITR13/DotsCommunityChallenge-2024/blob/main/Assets/Systems/UpdateRenderSystem.cs
GitHub
Game Of Life using DOTS. Contribute to ITR13/DotsCommunityChallenge-2024 development by creating an account on GitHub.