Difference between revisions of "Talk:PRIM POINT LIGHT"
Jump to navigation
Jump to search
(→Multiplying Colour?: new section) |
Omei Qunhua (talk | contribs) |
||
Line 6: | Line 6: | ||
If the light is being switched off then the colour will be multiplied down to <0,0,0> (black), but it seems that this is set when a light is disabled anyway (if you turn a light off then back on via script, it will be coloured black, with 0 for all values). -- --'''[[User:Haravikk_Mistral|Haravikk]]''' 03:10, 17 February 2016 (PST) | If the light is being switched off then the colour will be multiplied down to <0,0,0> (black), but it seems that this is set when a light is disabled anyway (if you turn a light off then back on via script, it will be coloured black, with 0 for all values). -- --'''[[User:Haravikk_Mistral|Haravikk]]''' 03:10, 17 February 2016 (PST) | ||
You are right. I guess I was concentrating on a compact version that faithfully replicated what the original script did, and not on the minimum to achieve the desired effect! [[User:Omei Qunhua|Omei Qunhua]] ([[User talk:Omei Qunhua|talk]]) 04:14, 17 February 2016 (PST) |
Latest revision as of 04:14, 17 February 2016
Multiplying Colour?
In the compact version example is there a reason for multiplying the colour in this line:
PRIM_POINT_LIGHT, switch, <1, 0.5, 0.1> * switch, 1, 10, 0.6
If the light is being switched off then the colour will be multiplied down to <0,0,0> (black), but it seems that this is set when a light is disabled anyway (if you turn a light off then back on via script, it will be coloured black, with 0 for all values). -- --Haravikk 03:10, 17 February 2016 (PST)
You are right. I guess I was concentrating on a compact version that faithfully replicated what the original script did, and not on the minimum to achieve the desired effect! Omei Qunhua (talk) 04:14, 17 February 2016 (PST)