playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Set Property for Materials extra options.
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Set Property for Materials extra options. (Read 2510 times)
TIGGYsmalls
Junior Playmaker
Posts: 80
Set Property for Materials extra options.
«
on:
May 07, 2013, 04:59:18 PM »
I have a Self-Illume Diffuse material and I want to animate the offset.
But! I can only animate the main texture and not the Illume texture because that option isn't in the set properties drop down.
Or am I doing it wrong again?
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Set Property for Materials extra options.
«
Reply #1 on:
May 08, 2013, 01:06:19 AM »
Hi,
you need to use the action "SetTextureOffset" cause Unity api only expose the main texture as a built feature of shaders.
the name you need to put for the named texture is "_Illumin"
http://docs.unity3d.com/Documentation/ScriptReference/Material.SetTextureOffset.html
bye,
Jean
«
Last Edit: May 09, 2013, 02:16:32 AM by jeanfabre
»
Logged
TIGGYsmalls
Junior Playmaker
Posts: 80
Re: Set Property for Materials extra options.
«
Reply #2 on:
May 08, 2013, 06:57:52 AM »
Thank you.
It's just _Illum though.
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Set Property for Materials extra options.
«
Reply #3 on:
May 09, 2013, 02:16:50 AM »
Hi,
cool, thanks for the correction, I edited the post.
bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Set Property for Materials extra options.