id Tech Forums

id Tech 4 (Doom3/Prey/Q4) => id Tech 4 Tech Support => Topic started by: romulus_ut3 on February 22, 2015, 12:51:18 AM

Title: BFG Edition Playershadow Head Glitch
Post by: romulus_ut3 on February 22, 2015, 12:51:18 AM
This is a screenshot of the player's shadow from the DOOM 3 BFG Edition:

(http://www.mediafire.com/convkey/37d3/phmzc1877q7040wzg.jpg)


This is a screenshot of the player's shadow from the original DOOM 3:

(http://www.mediafire.com/convkey/0b8e/eh010rcwoea871uzg.jpg)



So why is the BFG Edition's player shadow missing it's head when being projected? And how can this be fixed?
Title: Re: BFG Edition Playershadow Head Glitch
Post by: The Happy Friar on February 22, 2015, 07:54:01 AM
I'm assuming there's no head.   :o
Title: Re: BFG Edition Playershadow Head Glitch
Post by: oneofthe8devilz on February 22, 2015, 10:11:35 AM
Quote from: romulus_ut3 on February 22, 2015, 12:51:18 AM
So why is the BFG Edition's player shadow missing it's head when being projected? And how can this be fixed?

I confirm the glitch:

(http://www.scared-pixel-studios.com/public/images/d3bfg/bfg_no_head_shadows.jpg)

I identified the issue to be within the New Player Head material shader "models/characters/player/playerhead" in "materials/characters.mtr". The shader key "twosided" is causing the lack of the Player Head Shadows... So simply commenting that material key out with  "//twosided" in the shader fixes Player Head Shadows for me in D3 BFG...

(http://www.scared-pixel-studios.com/public/images/d3bfg/bfg_head_shadows.jpg)

Title: Re: BFG Edition Playershadow Head Glitch
Post by: romulus_ut3 on February 22, 2015, 09:04:40 PM
Thank you!! :D You guys are awesome.
Title: Re: BFG Edition Playershadow Head Glitch
Post by: korkuu69 on February 13, 2016, 12:13:18 PM
is there anyway to see how it has to look like in characters.mtr? i did all the things but that didnt fix it ;c
Title: Re: BFG Edition Playershadow Head Glitch
Post by: VGames on February 14, 2016, 09:38:51 AM
-1 more point for BFG Edition  :P

Try commenting out anything that has to do with shadows in that same shader definition in the material file until u find the solution. That 2 sided command should be commented out.
Title: Re: BFG Edition Playershadow Head Glitch
Post by: argoon on February 14, 2016, 05:38:32 PM
Hey thanks oneofthe8devilz! I was playing with player shadow off because of this not anymore!  ;D