- Home /
Question by
thestrandedmoose · Jan 28, 2018 at 10:20 PM ·
texturematerialground
Change texture of ground where character steps
Hey guys- I have a character who is made of fire and I'd like the grass/ground to burn wherever he walks. Does anyone know of any tutorials that cover this sort of thing? Might also be similar to how they make the ground look wet around a character after they get out of water
Comment
Answer by victorbisaev · Jan 28, 2018 at 10:55 PM
You can create a "Render Texture" asset (RT) and a special camera with "Target Texture" set to (RT). Then use (RT) as a texture for ground. At the same time render burns/water into (RT). Nice tutorial on "Render Texture" you can find here: https://www.youtube.com/watch?v=pA7ZC8owaeo.
Also try the approach to instantiate special GameObjects with "burned grass patches" following the way your character walks.