-
-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Setting Custom Brightmaps For Custom Textures (maybe sprites and flats too?) #729
Comments
I have been considering this. If I do, it will be done through a Although more restrictive than your suggestion, it will likely be of the following format (so as to not involve an entire rewrite of the existing brightmap code): |
Hi @iainrm. So, I've created a new |
I saw the back-and-forth in the logs. I agree, manipulating a big array of 1s and 0s is rather obtuse and painful for people to actually edit by hand. It'd be much easier with a third-party tool but allowing a BRGHTMPS lump to be human-readable and editable is for the best imo. Nonetheless this is very exciting! I'd love to implement this feature in my own WADs and maybe if enough people use it BRGHTMPS can be a standard feature across Doom ports. |
Hand editing is extremely simple when using this image. 😉 |
It's that exact image I referenced to convert each brightmap. So this is how
It can't get any simpler than that. I'm now working on code to parse it correctly. And I'll make sure to include comments in the lump with a clear explanation of the format. |
So this is what I've settled on. Instead of 256-character strings of 1s and 0s, use ranges of colors delimited by commas. Much simpler and intuitive imo. Thanks @iainrm for the suggestion! See #729.
All done! 😀 |
The brightmaps in Doom Retro are a big favorite of mine. I'd love to be able to set brightmaps for custom textures, so that I can have switches, lights, etc. show up as fully bright regardless of sector light level.
I'm not certain what the best way to implement this would be. Perhaps a text lump, named maybe BRITEMAP or DRBRIGHT or something? The syntax could look like this, perhaps:
NEWSW01 192-207,240-247,250
This could tell Doom Retro to draw the colors in the texture named "NEWSW01" with indices 192-207, 240-247, and 250 (the entire blue range, plus the brightest pink) as always bright.
Of course I'm not sure how would be the best way to implement this, but I'd love to be able to set custom brightmaps as that'd bring another great Doom Retro graphical enhancement to the universe of Doom WADs with new graphics out there.
The text was updated successfully, but these errors were encountered: