You've already forked HackerSM64
mirror of
https://github.com/HackerN64/HackerSM64.git
synced 2026-01-21 10:35:32 -08:00
Simplify silhouette f3d
This commit is contained in:
@@ -1712,7 +1712,7 @@ s32 execute_mario_action(struct MarioState *m) {
|
||||
#ifdef PUPPYCAM
|
||||
if (!(gPuppyCam.flags & PUPPYCAM_BEHAVIOUR_FREE)) {
|
||||
#endif
|
||||
mario_handle_special_floors(m);
|
||||
mario_handle_special_floors(m);
|
||||
#ifdef PUPPYCAM
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -190,16 +190,15 @@ const Gfx dl_silhouette_begin[] = {
|
||||
gsDPPipeSync(),
|
||||
gsDPSetRenderMode((SCHWA | GBL_c1(G_BL_CLR_FOG, G_BL_A_FOG, G_BL_CLR_MEM, G_BL_1MA)),
|
||||
(SCHWA | GBL_c2(G_BL_CLR_FOG, G_BL_A_FOG, G_BL_CLR_MEM, G_BL_1MA))),
|
||||
gsSPSetGeometryMode(G_FOG), /* Enable fog */
|
||||
gsSPFogPosition(0, 1), /* Fox position */
|
||||
gsDPSetFogColor(0, 0, 0, SILHOUETTE ), /* silhouette color & alpha */
|
||||
gsDPSetEnvColor(0, 0, 0, SIL_CVG_THRESHOLD), /* silhouette env transparency */
|
||||
gsDPSetFogColor(0, 0, 0, SILHOUETTE ), /* Silhouette color & alpha */
|
||||
gsDPSetEnvColor(0, 0, 0, SIL_CVG_THRESHOLD), /* Silhouette env transparency */
|
||||
gsSPEndDisplayList(),
|
||||
};
|
||||
|
||||
const Gfx dl_silhouette_end[] = {
|
||||
gsDPPipeSync(),
|
||||
gsSPClearGeometryMode(G_FOG), /* Disable fog */
|
||||
gsDPSetEnvColor(255, 255, 255, 255), /* Reset env color & alpha */
|
||||
gsDPSetFogColor( 0, 0, 0, 255), /* Reset fog color & alpha */
|
||||
gsDPSetEnvColor(255, 255, 255, 255), /* Reset env color & alpha */
|
||||
gsSPEndDisplayList(),
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user