Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Rainbow on September 24, 2019, 05:34:03 AM

Title: [SOLVED] 'Set Texture Offset' when using LWRP. Need help with texture name.
Post by: Rainbow on September 24, 2019, 05:34:03 AM
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 (https://imgur.com/NwfgCDb)
Title: Re: 'Set Texture Offset' when using LWRP. Need help with texture name.
Post by: Rainbow 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.