Skip to content

Commit

Permalink
Tweaked dark mask to prevent z sorting flickering.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeche committed Sep 4, 2018
1 parent a8a17f7 commit 7533dab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ BgmapSpriteROMDef DARKNESS_OVERLAY_IM_SPRITE =
__TRANSPARENCY_NONE,

// displacement
{0, 0, 0, 0},
{0, 0, 0, 4},
},

// bgmap mode (__WORLD_BGMAP, __WORLD_AFFINE, __WORLD_OBJECT or __WORLD_HBIAS)
Expand Down
6 changes: 3 additions & 3 deletions assets/stages/Level1/Definition/Level1TowerStageDefinition.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ extern Size collision_48_28_4;
PositionedEntityROMDef LAVA_CHILD_ENTITIES[] =
{
{&LAVA_TOP_AG, {0, -102, -1, 0}, 0, NULL, NULL, NULL, false},
{&DARKNESS_OVERLAY_IM, {0, -460, -2, 0}, 0, NULL, NULL, NULL, false},
{&DARKNESS_OVERLAY_IM, {0, -460, -4, 0}, 0, NULL, NULL, NULL, false},
{NULL, {0,0,0,0}, 0, NULL, NULL, NULL, false},
};

Expand Down Expand Up @@ -368,15 +368,15 @@ StageROMDef LEVEL_1_TOWER_STAGE_ST =
// streaming
{
// load padding
96,
80,
// unload padding
32,
// streaming amplitude
48,
// particle removal delay cycles
4,
// deferred
true,
false,
},

// rendering
Expand Down

0 comments on commit 7533dab

Please sign in to comment.