six_ten 208 Posted May 21, 2017 Looking to create an animated shader -- similar to water but for fabric. Anyone know of an example I can look at? Share this post Link to post Share on other sites
zgmrvn 95 Posted May 23, 2017 take a look to a3\map_altis\data\water\data\test_water.rvmat, it uses a shader named CalmWater Share this post Link to post Share on other sites
six_ten 208 Posted May 23, 2017 2 hours ago, zgmrvn said: take a look to a3\map_altis\data\water\data\test_water.rvmat, it uses a shader named CalmWater Thanks -- that's the first one I tried -- I need to get at the underlying shader though -- I don't want the reflection, just the scrolling normal maps. Share this post Link to post Share on other sites
PuFu 4600 Posted May 24, 2017 If you'd post what you are trying to achieve, maybe you'd get a better answer Share this post Link to post Share on other sites
six_ten 208 Posted May 25, 2017 22 hours ago, PuFu said: If you'd post what you are trying to achieve, maybe you'd get a better answer I want the sails on my boats to ripple, like the surface of water. So I want the texture and opacity, also AS and MC to to remain as they are now, but I want the normal maps to scroll and ripple. Share this post Link to post Share on other sites
PuFu 4600 Posted May 25, 2017 ahhhm, afaik, it is no possible Share this post Link to post Share on other sites
six_ten 208 Posted May 25, 2017 Can diffuse textures or other parts of a shader be animated at all? Share this post Link to post Share on other sites
PuFu 4600 Posted May 25, 2017 hmmm, thinking about it, i think it could be done via the same way the tank track textures are animated....can't think about doing it any other way (btw, that animates everything, not just certain textures afaik) Share this post Link to post Share on other sites
six_ten 208 Posted May 25, 2017 Yeah, I just want the sails to ripple, not any other part. I'd thought about the tank track animation but (a) couldn't find the part that animated them and (b) don't want it to be related to user input, rather just to move when the wind blows. Share this post Link to post Share on other sites
PuFu 4600 Posted May 25, 2017 yeah the track thing is a bit weird tbh, because it is not really an animation source: https://community.bistudio.com/wiki?title=CfgVehicles_Config_Reference&redirect=no#selection... Share this post Link to post Share on other sites
BlueArrow 0 Posted June 2, 2017 You could go the extra mile and do hardcore wind/fabric simulations in 3ds max or Blender, and then bake them into an animation. So the short animation just loops making it look like a simulation. No actual simulations in game. Maybe try to link the animation with movement speed of the boat. Seems a bit much just for a boat sail. But its an option you could try exploring. Share this post Link to post Share on other sites