- Home /
separate vert and frag shader functions in two distinct URP Render Features
Hi! I have various 2D shaders for custom Sprite rendering and one shader that applies a wobble effect to the Sprite mesh.
Is it possible to combine those shaders, using the URP render features, in such a way that:
the wobble shader displaces the vertices of the Sprite;
one of the custom sprite shaders renders the sprite keeping track of the vertex displacement done in the previous step.
I am trying to apply a wobble effect on EVERY sprite in the game, independently from the sprite material.
Combining the rendering and the displacement in a single shader is not an option.
Thanks!
Your answer
Follow this Question
Related Questions
I would like to know how to make a tessellation shader with LightWeightRenderPipline(Unity2018.2.13) 0 Answers
Using Color.Lerp with Lightweight Render Pipeline 1 Answer
Unwanted eye adaptation effect/Overexposure after switching to HDRP 1 Answer
HDRP Terrain Shader issues in Standalone Build Only 2 Answers
How to apply a outline shader on entities using the HDRP 0 Answers