Removing the light from the player

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
User avatar
Hipshot
Posts: 50
Joined: Wed Feb 03, 2016 1:45 pm

Removing the light from the player

Post by Hipshot »

There seems to be a lightsource inside the doom player, that lit up walls when I get close to them. I'm not talking about the secors that becomes brighter, it's more of some sort of dynamic light that sits inside the camera. Anyone know how I can mod that away? Using the latest zdoom exe.
Blue Shadow
Posts: 5032
Joined: Sun Nov 14, 2010 12:59 am

Re: Removing the light from the player

Post by Blue Shadow »

This is just a guess, so I could be entirely wrong. Go to: Options -> Display Options -> Hardware Renderer. Set Fog mode to anything other than Radial.
User avatar
Hipshot
Posts: 50
Joined: Wed Feb 03, 2016 1:45 pm

Re: Removing the light from the player

Post by Hipshot »

You are partly correct. This affects the behaviour of it, but I can't disable it. There's something emitting from the player and it comes from somewhere. If it's not a lamp, some other settings tells the world there's a player here and brightens close features.
User avatar
axredneck
Posts: 391
Joined: Mon Dec 11, 2017 2:09 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Arch
Graphics Processor: nVidia with Vulkan support
Location: Russia

Re: Removing the light from the player

Post by axredneck »

If you have Options -> Display Options -> Sector Light Mode set to Vanilla, try to set it to something else.

Return to “Scripting”