Made flames transparent.
This commit is contained in:
parent
b6e15f8c4e
commit
612c497d5e
@ -9,7 +9,7 @@ uniform bool withColor;
|
|||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
if (withColor) {
|
if (withColor) {
|
||||||
oColor = vec4(fColor, 1.0);
|
oColor = vec4(fColor, 0.6);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
oColor = vec4(0.0, 0.0, 0.0, 0.0);
|
oColor = vec4(0.0, 0.0, 0.0, 0.0);
|
||||||
|
Loading…
Reference in New Issue
Block a user