playMaker

Author Topic: Set Material Vector  (Read 1563 times)

MUX

  • Playmaker Newbie
  • *
  • Posts: 43
    • @stefstivala
Set Material Vector
« on: March 28, 2014, 09:43:58 AM »
hi!

I am a bit of a shader noob. current using a bent world shader but having trouble properly accessing its properties. using set material *float* action is it possible for modify a material's shader when the properties are in vector? or maybe as a transform of the float4 properties?

this is what the shader properties looks like :

Code: [Select]
  Properties {
           _QOffset ("Offset", Vector) = (14,-12,0,0)
    }

« Last Edit: March 28, 2014, 09:45:51 AM by MUX »

MUX

  • Playmaker Newbie
  • *
  • Posts: 43
    • @stefstivala
Re: Set Material Vector
« Reply #1 on: April 04, 2014, 09:10:31 AM »
*just pinging* maybe someone can help :D