mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +00:00
- tweaked the fade ramp a bit.
For Duke Nukem and its direct offspring (Nam, WW2GI and Redneck Rampage) the ramp is not a linear fade from 0 to 1, it needs to be a little darker than that. Unfortunately the proper factor needed here must be set manually, this cannot really be calculated from the lookup tables.
This commit is contained in:
parent
9437387b4a
commit
85d377647a
8 changed files with 37 additions and 14 deletions
|
@ -484,6 +484,7 @@ void PolymostRenderState::Apply(PolymostShader* shader)
|
|||
shader->Flags.Set(Flags);
|
||||
shader->Shade.Set(Shade);
|
||||
shader->NumShades.Set(NumShades);
|
||||
shader->ShadeDiv.Set(ShadeDiv);
|
||||
shader->VisFactor.Set(VisFactor);
|
||||
shader->Flags.Set(Flags);
|
||||
shader->NPOTEmulationFactor.Set(NPOTEmulationFactor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue