@Alex: so, how to trigger this when the character enters water 'til the knees (so, when it goes out, pants/shoes will be wet just on the height of the water).
that is a programming question, and there are many answers.
what game engine you using? You should probably ask on the forums for that engine. If it's unreal, you can lerp between two textures and drive the change via a parameter you get access to from a dynamic material.
That is all steps covered by thousands of youtube videos.
If you have to ask the question, the design you described is way too complicated. Just start with lerp a texture based on event from key press. Go from there.
I would like to prepare a demo and I have both UE5 and Unity. The problem is that i didn't know what to search for, and besides, I always started here for infos.
Thats for unreal. I think in unity you have to write a shader, but I dont really know. It's a lot to learn, but it's all stuff well covered by many tutorials and documentation.
Replies
the most common approach would be to darken its color and increase its gloss.
Yes, as usual I assumed people were telepathics :-)
I meant, this effect in a game engine.
in a game engine you'd drive those same map changes with a trigger volume and delayed return.
Linear Interpolation Node (Lerp) - Shader Graph Basics - Episode 6 - YouTube
(i did the press enter thing, for some reason link wont embed)
@killpc ????????
@Alex: so, how to trigger this when the character enters water 'til the knees (so, when it goes out, pants/shoes will be wet just on the height of the water).
that is a programming question, and there are many answers.
what game engine you using? You should probably ask on the forums for that engine. If it's unreal, you can lerp between two textures and drive the change via a parameter you get access to from a dynamic material.
That is all steps covered by thousands of youtube videos.
If you have to ask the question, the design you described is way too complicated. Just start with lerp a texture based on event from key press. Go from there.
I would like to prepare a demo and I have both UE5 and Unity. The problem is that i didn't know what to search for, and besides, I always started here for infos.
@sympatik ,
keywords are:
lerp (linear interpolation)
dynamic material instance
material parameter
Thats for unreal. I think in unity you have to write a shader, but I dont really know. It's a lot to learn, but it's all stuff well covered by many tutorials and documentation.
Thanks. I've smelled there ewas difference in operating between the two engines...