Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: clandestine on December 20, 2015, 04:15:13 AM

Title: Scale/Rotate UV?
Post by: clandestine on December 20, 2015, 04:15:13 AM
Hey guys, i use Offset UVs to animate the water in some of the levels in moto rkd dash (http://dash.rkd.zone) and i generally love to explore tricks with textures and uv maps. Anyway my questions are:
- is it possible to scale UVs in real time?
- is it possible to rotate UVs?

Thanks ;)
Title: Re: Scale/Rotate UV?
Post by: jeanfabre on December 21, 2015, 01:22:11 AM
Hi,
 
Check this post (http://unitycoder.com/blog/2015/12/21/matrix-playground-shader/) from UnityCoder, it gives you apparently soem pretty advance control.

 If that works, theny ht epublic properties of this shader should be accessible via the "SetMaterialFloat" action.

 Bye,

 Jean
Title: Re: Scale/Rotate UV?
Post by: terri on December 21, 2015, 08:25:33 AM
Rotating might be more complex, but for scaling you can use Set Texture Scale
Title: Re: Scale/Rotate UV?
Post by: clandestine on December 21, 2015, 10:29:39 AM
hohooo, awesome!
Thanks to both of you guys!!!!
Title: Re: Scale/Rotate UV?
Post by: clandestine on January 16, 2016, 06:25:23 AM
A month has passed and i had the chance to sit and work on my idea.

Terri, the texture scale action works well thanks!

Jean, the matrix playground shader is amazing, but it moves, scales and rotates the entire object (the 3D model), not the texture itself.

Thanks again guys!