Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

How do I Get a Vector3 Color?

Discussion in 'Visual Scripting' started by 666Savior, Nov 11, 2017.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. 666Savior Apprentice Engineer

    Messages:
    196
    I'm attempting to mess around with fog settings for a map I'm working on and the FogSetAll node requires a Vector3 Color input and I cannot find any node that outputs that variable type, nor do I know its format so I can put it in a constant to attach to the node. Is there some way to generate this value? Is there a node that outputs that value?

    Node that requires the Vector3 Color:

    [​IMG]
     
  2. Roxette Senior Engineer

    Messages:
    1,406
    Vector3 most commonly refers to a colour defined as RGB values, often as 3 integers between 0 and 255. How they need to be represented for the input field you need, I cannot say.

    handy online conversion tool.. http://www.rapidtables.com/convert/color/rgb-to-hex.htm
     
  3. 666Savior Apprentice Engineer

    Messages:
    196
    I've checked the website and have tried all combinations of things however I still can't find the proper format to allow the node to accept a constant with values. Also, me going into the environment.sbc and Sandbox.sbs files and changing values there have no effect.
    --update-- After testing, it will not allow me to attach a constant to the Vector3 input. When connecting an empty constant to an RGB input it will allow it then change into a color selection dropdown.
     
    Last edited: Nov 19, 2017
Thread Status:
This last post in this thread was made more than 31 days old.