View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000800 | The Dark Mod | Coding | public | 03.06.2008 17:50 | 08.10.2017 17:38 |
Reporter | Springheel | Assigned To | |||
Priority | low | Severity | normal | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 0000800: Player reflection should be disabled when in water | ||||
Description | The player reflection is all distorted when the player is in water because the *inside* of the mesh gets reflected as well. Best idea was to just disable it when player is in water. | ||||
Tags | No tags attached. | ||||
From the lightgem code: // Make sure the player model is hidden in the lightgem renders renderEntity_t* prent = player->GetRenderEntity(); const int pdef = player->GetModelDefHandle(); const int playerid = prent->suppressSurfaceInViewID; const int psid = prent->suppressShadowInViewID; prent->suppressShadowInViewID = DARKMOD_LG_VIEWID; prent->suppressSurfaceInViewID = DARKMOD_LG_VIEWID; // And the player's head renderEntity_t* hrent = player->GetHeadEntity()->GetRenderEntity(); const int hdef = player->GetHeadEntity()->GetModelDefHandle(); const int headid = hrent->suppressSurfaceInViewID; const int hsid = hrent->suppressShadowInViewID; hrent->suppressShadowInViewID = DARKMOD_LG_VIEWID; hrent->suppressSurfaceInViewID = DARKMOD_LG_VIEWID; |
|
Date Modified | Username | Field | Change |
---|---|---|---|
03.06.2008 17:50 | Springheel | New Issue | |
08.10.2017 17:34 | nbohr1more | Note Added: 0009422 | |
08.10.2017 17:38 | nbohr1more | Note Edited: 0009422 |