playMaker

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

clandestine

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Scale/Rotate UV?
« on: December 20, 2015, 02: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: 14342
  • Official Playmaker Support
    • View Profile
Re: Scale/Rotate UV?
« Reply #1 on: December 20, 2015, 11:22:11 PM »
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: 373
    • View Profile
    • terrivellmann.tumblr.com
Re: Scale/Rotate UV?
« Reply #2 on: December 21, 2015, 06:25:33 AM »
Rotating might be more complex, but for scaling you can use Set Texture Scale

clandestine

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: Scale/Rotate UV?
« Reply #3 on: December 21, 2015, 08:29:39 AM »
hohooo, awesome!
Thanks to both of you guys!!!!

clandestine

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: Scale/Rotate UV?
« Reply #4 on: January 16, 2016, 04: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!