0
Declined

color picker

vincent 10 years ago updated by Freya Holmér (Developer) 10 years ago 7

Hi, is there a color picker mode in the vector 4 parameter node? I mean it is there in the shaderforge window but when I use it in a material (in the inspector)it is just the XYZW values.

Answer

Answer
Declined

By default the Unity material inspector doesn't support that, and SF is currently not using a custom material inspector. This might change down the line though!

Under review

By default the Unity material inspector doesn't support that, and SF is currently not using a custom material inspector. This might change down the line though!

The standard Unity materials has a color picker in the Main Color or Specular Color node, but I guess that can't be be the same in the shader forge materials? Forgive me if I say something stupid I'm just an artist;p

That's for when you're using the color property, not the Vector4 property :)

Nice did not know it was there!! I thought the way to get a color was with the vector node;) Thx for the quick response! 

Yeah I'm closing this now, there are other threads for a custom inspector!

Answer
Declined

By default the Unity material inspector doesn't support that, and SF is currently not using a custom material inspector. This might change down the line though!

Ok 1 last question; is there a big difference between using a vector 4 property or the color property?

I mean in the clip an transmission shader you use the vector 4 and does it make a difference performance wise to use a color property? Thx

It makes no difference performance wise, but it does make a difference interface wise. When you tweak a Color property in the inspector, you use a color picker which cannot go outside the 0-1 range. When you use a Vector4 property, you can go outside the 0-1 range, and even into negative numbers, but you don't have a color picker.

Thx for the quick answer!!