Paintings occlude silhouette
This commit is contained in:
1 parent
a5588326c4
commit
e1c0832a9d
1 file changed
+1
-1
@@ -1138,7 +1138,7 @@ void move_ddd_painting(struct Painting *painting, f32 frontPos, f32 backPos, f32
|
||||
void set_painting_layer(struct GraphNodeGenerated *gen, struct Painting *painting) {
|
||||
switch (painting->alpha) {
|
||||
case 0xFF: // Opaque
|
||||
SET_GRAPH_NODE_LAYER(gen->fnNode.node.flags, LAYER_OPAQUE);
|
||||
SET_GRAPH_NODE_LAYER(gen->fnNode.node.flags, LAYER_OCCLUDE_SILHOUETTE_OPAQUE);
|
||||
break;
|
||||
default:
|
||||
SET_GRAPH_NODE_LAYER(gen->fnNode.node.flags, LAYER_TRANSPARENT);
|
||||
|
||||
Reference in new issue
Block a user