mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 22:41:46 +00:00
Fixed: additive-translucent geometry should not be lit
This commit is contained in:
parent
d47dd9a533
commit
e3ebe7dcdf
3 changed files with 7 additions and 3 deletions
|
@ -30,6 +30,6 @@ using CodeImp.DoomBuilder;
|
|||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("2.3.0.2876")]
|
||||
[assembly: AssemblyVersion("2.3.0.2881")]
|
||||
[assembly: NeutralResourcesLanguageAttribute("en")]
|
||||
[assembly: AssemblyHash("e62bbba")]
|
||||
[assembly: AssemblyHash("d47dd9a")]
|
||||
|
|
|
@ -1334,6 +1334,10 @@ namespace CodeImp.DoomBuilder.Rendering
|
|||
|
||||
if (sector == null) continue;
|
||||
|
||||
// note: additive geometry doesn't receive lighting
|
||||
if (g.RenderPass == RenderPass.Additive)
|
||||
continue;
|
||||
|
||||
if (settexture)
|
||||
graphics.Shaders.World3D.Texture1 = g.Texture.Texture;
|
||||
|
||||
|
|
|
@ -29,5 +29,5 @@ using System.Resources;
|
|||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("2.3.0.2876")]
|
||||
[assembly: AssemblyVersion("2.3.0.2881")]
|
||||
[assembly: NeutralResourcesLanguageAttribute("en")]
|
||||
|
|
Loading…
Reference in a new issue