ou thats a problem.
I need to render particles as sphere point sprites to a depthtexture for "Smoothed Particle Hydrodynamics".
In works like this:
- Render particles to depthmap as sphere point sprites
- Smooth depthtexture
- Calculate Normals from Depth
- Render Gouradshaded(skipping densitity texture here, as this is the first simple goal i want to archieve)
This Document highlights these single steps:
https://developer.nvidia.com/content/fluid-simulation-alice-madness-returnsBut sprites are much much slower
(or am i mmissing something?)