- Home /
Question by
AntoineProvost · Oct 29, 2021 at 10:28 AM ·
shaderworldspacepixel artprojection
Shader graph : Convert world position effect to UV position
Hello all,
I'm currently working on a pixel dissolve shader for a game and I need some help to understand how can I mix between world position and object position...
This is what I want to achieve :
- Use a world position projection of a pixel noise to have the same size in all the scene and not be UV scale dependent. -
- But also use a UV node to get the blending coordinate from 0 to 1 depending of the sprite size
As you can see it work pretty well as long as I didn't move around in the scene...
This is what the shader looks like at the moment
Do you have any idea how can I blend between the two solutions ? :)
Thanks a lot !
shader.png
(194.2 kB)
gif.gif
(459.4 kB)
Comment