[Particles] Triplanar on local space
Posted: Mon Oct 29, 2018 7:16 pm
Hi there !
I want to make a particle effect to use a triplanar shading, but not in world space, more in local space, relative to the particle position.
The documentation says that Vertex Position is on local space, but it seems that it doesn't work correctly when using particles.
I've tried to substract Vertex Position to World Position, but it doesn't give me the result I wanted.
Is there anyway to get the vertex position in local space relative to the particle position?
I've looked to the custom data a particle can send, see if I can grab the position, but I don't think I understand how to use custom data with ASE.
Thanks !
I want to make a particle effect to use a triplanar shading, but not in world space, more in local space, relative to the particle position.
The documentation says that Vertex Position is on local space, but it seems that it doesn't work correctly when using particles.
I've tried to substract Vertex Position to World Position, but it doesn't give me the result I wanted.
Is there anyway to get the vertex position in local space relative to the particle position?
I've looked to the custom data a particle can send, see if I can grab the position, but I don't think I understand how to use custom data with ASE.
Thanks !