playMaker

Author Topic: Scale/Rotate UV?  (Read 2106 times)

clandestine

  • Sr. Member
  • ****
  • Posts: 255
    • ЯKD.ZONE
Scale/Rotate UV?
« 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 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 ;)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Scale/Rotate UV?
« Reply #1 on: December 21, 2015, 01:22:11 AM »
Hi,
 
Check this post 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

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: Scale/Rotate UV?
« Reply #2 on: December 21, 2015, 08:25:33 AM »
Rotating might be more complex, but for scaling you can use Set Texture Scale

clandestine

  • Sr. Member
  • ****
  • Posts: 255
    • ЯKD.ZONE
Re: Scale/Rotate UV?
« Reply #3 on: December 21, 2015, 10:29:39 AM »
hohooo, awesome!
Thanks to both of you guys!!!!

clandestine

  • Sr. Member
  • ****
  • Posts: 255
    • ЯKD.ZONE
Re: Scale/Rotate UV?
« Reply #4 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!