I dunno how to word it, but I made a flag texture to add to my map and I was wondering how I can make it look like it has waves in it. Also is it possible to make it flip in the wind as well?
Item that waves?
Fluffy_gIMp
(Fluffy_gIMp)
#2
You’ll need to write a shader to emulate the flapping effect, the line you’ll be wanting is something like:
deformVertexes wave 194 sin 0 3 0 .4
take a look in scripts/models_mapobjects.shader
and search for models/mapobjects/cmarker/cflag_allied
if you copy this shader, rename it and the texture path and stick it in your own shader file then you should have a flapping flag.
-Fluffy_gIMp
