Dynamic lights? Did anyone say DYNAMIC LIGHTS?

This commit is contained in:
Magnus Norddahl 2016-12-20 23:21:34 +01:00
commit 8a3db6c003
10 changed files with 133 additions and 9 deletions

View file

@ -261,6 +261,9 @@ void RenderPolyWall::Render(const TriMatrix &worldToClip, const Vec4f &clipPlane
args.SetColormap(Line->frontsector->ColorMap);
args.SetClipPlane(clipPlane.x, clipPlane.y, clipPlane.z, clipPlane.w);
//if (Side && Side->lighthead)
// args.uniforms.light = 255; // Make walls touched by a light fullbright!
if (Polyportal)
{
args.stencilwritevalue = Polyportal->StencilValue;