Draw on screen subject to scene lighting/bloom?

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!)
Post Reply
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Draw on screen subject to scene lighting/bloom?

Post by Matt »

Is there a way to set up the DrawTexture, etc. functions so that they'll be affected by lighting around the player like a weapon sprite (and, ideally, "beforebloom" and "scene" shaders as well)?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Draw on screen subject to scene lighting/bloom?

Post by Graf Zahl »

No. The 2D is an overlay that is completely independent from the underlying scene. This is drawn after all postprocessing has been completed.
Post Reply

Return to “Scripting”