playMaker

Author Topic: [SOLVED] 'Set Texture Offset' when using LWRP. Need help with texture name.  (Read 983 times)

Rainbow

  • Playmaker Newbie
  • *
  • Posts: 3
Hello,

I am trying to animate the offset of a material¹ but I can't seem to find the right texture name when using a LWRP Lit shader in combination with the 'Set Texture Offset' action. '_MainTex' won't work.
Does anyone have a hint? I would appreciate it a lot.
I guess I just have to find the right texture name.

Thanks in advance and have a wonderful day.

¹Offset I am trying to animate
« Last Edit: September 24, 2019, 05:59:07 AM by Rainbow »

Rainbow

  • Playmaker Newbie
  • *
  • Posts: 3
Re: 'Set Texture Offset' when using LWRP. Need help with texture name.
« Reply #1 on: September 24, 2019, 05:58:39 AM »
Sorry, just figured it out on my own. Had a different issue with my animated float, that's why it didnt work out in the end.
In order to animate the texture offset when using LWRP you have to use _BaseMap instead of _MainTex. Hope this helps someone.