Fixed rgba -> rgb conversion

This commit is contained in:
RodZill4 2020-01-29 07:54:58 +01:00
parent 5717869d00
commit 02623aa1f9
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
"slot_type":0, "slot_type":0,
"convert":[ "convert":[
{ "type":"f", "expr":"(dot(($(value)).rgb, vec3(1.0))/3.0)" }, { "type":"f", "expr":"(dot(($(value)).rgb, vec3(1.0))/3.0)" },
{ "type":"rgb ", "expr":"(($(value)).rgb)" } { "type":"rgb", "expr":"(($(value)).rgb)" }
], ],
"color":{ "r":0.0, "g":0.5, "b":0.0, "a":0.5 } "color":{ "r":0.0, "g":0.5, "b":0.0, "a":0.5 }
}, },

View File

@ -219,7 +219,7 @@ toggle_fullscreen={
[logging] [logging]
file_logging/enable_file_logging=true file_logging/log_path=""
[rendering] [rendering]