[Abandoned] Texture Lights

For high-res texture/sprite projects, sprite-fix patches, music add-ons, music randomizers, and other graphic/sound-only projects.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.

[Abandoned] Texture Lights

Postby Marisa Kirisame » Sat Apr 27, 2019 5:28 pm

Because I'm an idiot and I can't turn down a challenge even if it comes from some 4chan dweller who has no understanding of programming or how complicated it is to do something like this in GZDoom, I ended up making a mod that "adds lights to textures". It's in an incomplete but semi-functional state (covers E1M1, at least), and it's also full of bugs that I won't bother with fixing.

Feel free to download it and take a look at its pestilent entrails if you so desire, just be warned that it might make you rethink ever touching ZScript. This piece of trash is the worst thing I've ever written. If anyone somehow can make something better out of this, they deserve a medal.

Special "go step on a lego" goes to the dolt who posted this wonderful display of intelligence as a suggestion on how to improve it:
use the lump reader to get brightness values in everything that's in brightmaps.pk3, run through some galaxybrain algorithm and use that to spawn your lights


Update: Since this has come up now, I'd like to state some important things about this:
  1. I absolutely refuse to touch this code, so if you go and ask me to "fix" anything that's wrong with it, tough luck. You have to do that yourself if you want to use (and redistribute) it.
  2. You may not include a verbatim copy of the script in your own work.
  3. Taking the mod as-is and including it into a modpack without first asking for permission, then just "giving credit" with a tiny little mention won't fly for me. Especially if said modpack has some questionable legality.
  4. As part of the previous statement, I hereby declare that I forbid the usage of this mod in Doom Remake 4. This still applies even if you rebrand yourself and/or your mod.
User avatar
Marisa Kirisame
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: 霧雨魔理沙#1666
Twitch ID: magusmarisa
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [Abandoned] Texture Lights

Postby Rachael » Sat Apr 27, 2019 7:06 pm

Ah, 4chan. An echo chamber where half its users universally accept as truth the worst imaginable conspiracy theory some anon can come up with, absent any proof. Because, ya know, the truth is inconvenient and really not that exciting.
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [Abandoned] Texture Lights

Postby Kinsie » Sat Apr 27, 2019 9:56 pm

I actually quite like the effect from this. I mean, it's pretty overblown, but it reminds me a lot of Quake 2 and that era of when coloured lightmaps was cruise control for cool.

I feel (in the rare event you touch this again or someone else picks it up or imitates it or something) the LTEXDEFS stuff could probably be gutted and cut it down to one light per repetition of the texture to get a similar effect with less headaches (and less lights, so less potential performance issues).
User avatar
Kinsie
Dog Days
 
Joined: 22 Oct 2004
Location: MAP33
Discord: Find Me...
Twitch ID: thekinsie

Re: [Abandoned] Texture Lights

Postby Cherno » Sun Apr 28, 2019 4:07 am

I think it's a very desirable feature if it could be implemented, along with a global lighting (sunlight) system. I use a lot of models in my projects and having propert lighting is neccessary to make them look good. Voxels even more! :)
User avatar
Cherno
 
Joined: 06 Dec 2016

Re: [Abandoned] Texture Lights

Postby Marisa Kirisame » Thu May 02, 2019 3:47 am

How unexpected, this incomplete, blatantly broken and suboptimal mod is now part of vasyan777's little collection of trash.
User avatar
Marisa Kirisame
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: 霧雨魔理沙#1666
Twitch ID: magusmarisa
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [Abandoned] Texture Lights

Postby Darkcrafter » Fri May 10, 2019 7:59 am

Is there any remind about you in the credits?
Darkcrafter
 
Joined: 23 Sep 2017
Location: Southern Russia
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [Abandoned] Texture Lights

Postby Marisa Kirisame » Fri May 10, 2019 10:22 am

I am completely uncredited, but he didn't touch the zscript at all so my name is in there, at least.
User avatar
Marisa Kirisame
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: 霧雨魔理沙#1666
Twitch ID: magusmarisa
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [Abandoned] Texture Lights

Postby Darkcrafter » Fri May 10, 2019 5:55 pm

By the way, I watched his doom remake video and I really enjoyed the lighting there, it was smooth but fittig the doom style real well: https://www.youtube.com/watch?v=cUNv1FiuxJo .Works really slow at 2:40, cause imagine an amount of lights there

In the rest of it looks like a gimmick. I'm thinking on why his channel is called "vasyan777". So Vasyan is a pretty common gopnik name on the post ussr territory, 7 perceived a digit on happines and luck, but software wise that all gave a birth to the slang combo "A Vasyan's build" kind of a build with crappy gopnik taste of Vasyan that puts on everything that shine.

This is his another mod that was called RTX ON (hope this was a joke): https://www.youtube.com/watch?v=OC02P70QMpQ&t=101s
You do not have the required permissions to view the files attached to this post.
Darkcrafter
 
Joined: 23 Sep 2017
Location: Southern Russia
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [Abandoned] Texture Lights

Postby Samarai1000 » Fri May 10, 2019 6:04 pm

Marisa Kirisame wrote:*snip*

And now Vasyan's modpack got a PCGamer article. And it just credits him, as well, and barely goes into the work other people actually did for it.
Fucking wonderful.
User avatar
Samarai1000
My existence shouldn't be a "political issue".
 
Joined: 25 Sep 2016
Location: Somewhere in Canada
Discord: #7919
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)

Re: [Abandoned] Texture Lights

Postby WAN_Scotty » Sun May 12, 2019 7:00 am

Marisa Kirisame wrote:I am completely uncredited, but he didn't touch the zscript at all so my name is in there, at least.


It says "Texture lights script by Marisa Kirisame: link to this thread" here: https://www.moddb.com/mods/lowpoly-doom ... al-edition
WAN_Scotty
 
Joined: 02 Jan 2019

Re: [Abandoned] Texture Lights

Postby Marisa Kirisame » Sun May 12, 2019 12:09 pm

Hm, I'm pretty sure that wasn't there before. I guess he got wind of it and changed that.
User avatar
Marisa Kirisame
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: 霧雨魔理沙#1666
Twitch ID: magusmarisa
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [Abandoned] Texture Lights

Postby LastManonEarth » Fri Jun 14, 2019 10:45 am

I wrote Marisa and no issues for her me trying to continue with this mod. Is anyone interested in assisting? I completed almost all the textures from Ultimate Doom and Doom II. Textures like switches changing the layer to a second texture are not working unfortunately (will work the first texture and will keep the same light even once pressed). Also would like to have the same effect for nukage and lava. I currently have bright but lack of movement. We need the capability of changing the spotlight and rgb colour when the texture changes to another one, and have the first spot and colour removed at the same time. Mod credits will be for her anyway I do not want any credit, just contributing with the community. I can play with my current mod but would be nice to have something very neat and complete. Send a PM in case you are interested.
User avatar
LastManonEarth
 
Joined: 25 Apr 2016

Re: [Abandoned] Texture Lights

Postby BrettBotTheCryonaut » Fri Apr 23, 2021 6:07 pm

I'm sorry to resurrect such an old post Marisa but I wanted to message you about this, and I've only just created this account so I can't PM you it would seem. I don't think you give this creation enough credit. I was blown away when I found it and started tinkering with it. The ability to procedurally generate dynamic lighting for any megaWAD from the past twenty six years is absolutely mind-blowing to me. I've spent the last few days tweaking and expanding on the LTEXDEFS file and each time I save and hop into the game I an continually impressed by the visuals it creates especially with ambient lighting completely removed. From huge room-filling spotlights to subtle glows coming from around the edges of display screens on the walls, the atmosphere this is able to produce without any map editing needing to be done by hand is just crazy.

I've been working on a personal project for the past couple weeks trying to change Doom into a slow-paced, atmospheric, horror shooter (so basically like if you took all of the elements most people love about Doom, and replaced them with all of the elements most people hate about Doom 64 and Doom 3). Integrating this code into the project has made it so much better than I could have hoped. If I were to end up making it available for other people to download if they want, would you be okay with it including your code with you listed in the credits (and a link to your website if you want)? I promise this would be nothing like that mod-that-shall-not-be-named.
User avatar
BrettBotTheCryonaut
 
Joined: 22 Apr 2021
Location: near Atlanta, GA

Re: [Abandoned] Texture Lights

Postby BrettBotTheCryonaut » Sun Apr 25, 2021 12:58 am

Just thought I would include a few examples of how things are looking with this plus my custom sky. Never thought Maps of Chaos could look this good.

Screenshot_Doom_20210425_022634.jpg

Screenshot_Doom_20210425_022751.jpg

Screenshot_Doom_20210425_022855.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
BrettBotTheCryonaut
 
Joined: 22 Apr 2021
Location: near Atlanta, GA


Return to Graphic/Audio Patches

Who is online

Users browsing this forum: No registered users and 2 guests