diff options
author | Sven Gothel <[email protected]> | 2023-08-02 14:41:05 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-08-02 14:41:05 +0200 |
commit | 94def2d64fd6fb2d789e5d9176f67941f0bb5b8a (patch) | |
tree | 65890f2d3645dd583ce3c2d97e6954d5c43c3992 /www/media/c3d-studio-snap2-160x160.png | |
parent | a4793735eeead4ae5d54422bf8d76511094088ea (diff) |
Graph RenderState: Initialize colorStatic w/ all white (1,1,1,1) if color-channel is used and no static-color set
Commit a973324a75b55b722caa755a7a573be849d997e4 was setting the alpha to 1,
which avoids the 'discard' in the shader.
This at least gave us a black color ;-)
However, the shader modulates the color, i.e. color-channel * color-static,
therefor we need an all-white color-static as default
if user only sets the color-channel.
Diffstat (limited to 'www/media/c3d-studio-snap2-160x160.png')
0 files changed, 0 insertions, 0 deletions