Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: jayhfd on May 18, 2012, 07:46:09 PM
-
Hi,
I'm trying out the skybox blend material here: http://unifycommunity.com/wiki/index.php?title=SkyboxBlended
I'd like to know how I could control the blend amount from within Playmaker? I looked at getting/setting properties but never saw the Blend float variable. Honestly I'm not 100% sure how these work, but I can generally figure it out by dragging materials/shaders/objects and looking at the drop down! However not this time.
Regards,
Jay
-
Try Set Material Float:
https://hutonggames.fogbugz.com/default.asp?W406
-
I assumed this didn't work, as the skybox material is set in Rendersettings/not attached to a game object, hence I can't drag a game object in. I tried just dragging a material on to the game object field but of course that didn't work :)
*edit
Also tried making a game object with a skybox component, but then I seem to require a mesh renderer component too, so I don't think the sky box will be used, but the material attached to the mesh renderer instead?
-
Ahhh, good point... I added a material slot to Set Material Float. Let me know if this works...
-
Mmmm, that's some sweet skybox blendy goodness right thar! Thanks! :)
-
Did this technique work? I've been messing around with it for an hour and don't understand.
Do I need a skybox component on the game object?
Could someone explain this a little further?