Spawn particles based on dynamic material


is there a way to spawn particles where the wood is burning ?

I tried using Texture sample / and spawn on frame in Niagara with no luck

the issue being that I cannot sample live shader materials, only static textures

thanks for you help

nobody ???

The easiest solution would be to replicate whatever logic you’re using in the Material in Niagara.

If you can’t do that then read the GBuffer or write the material to a render target and sample that.

maybe with Grid2D or something, but it’s Particles → Material (RT)

what is a GBuffer ?

A set of textures that the renderer uses to create the final image. There is a data interface that allows you to sample them, so you read for example screen space color at a certain uv or velocity.

ok I’ll have a look