mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
Fixed rgba -> rgb conversion
This commit is contained in:
parent
5717869d00
commit
02623aa1f9
@ -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 }
|
||||||
},
|
},
|
||||||
|
@ -219,7 +219,7 @@ toggle_fullscreen={
|
|||||||
|
|
||||||
[logging]
|
[logging]
|
||||||
|
|
||||||
file_logging/enable_file_logging=true
|
file_logging/log_path=""
|
||||||
|
|
||||||
[rendering]
|
[rendering]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user