Description

This is mostly bug fixes, and some of those date back to original Relighting code. These include refactoring how patch files are read, correcting colors, and correcting miscellaneous shadow-related issues. Generally the top third of decorative sprites are read for color, and this produces purer colors for torches. I've also added a library that reads PNG files (including decompressing the image itself); for this version it reads and analyzes brightmap files to exclude textures as light sources.

Preview
relite 0.6.2a
Post comment Comments
Shr¡ke
Shr¡ke - - 281 comments

This newer version looks great, however it seems trying to run texture mods like paralax doom seem to cause crashes, runs perfectly fine with out them, errors of "Array access out of bounds. Size = 3 current = 256, this only happens with texture packs, 6.1 ran perfectly with them, so not sure why it's acting up.

I.imgur.com

Reply Good karma Bad karma+1 vote
HeyDoomer Author
HeyDoomer - - 70 comments

This version should ignore PNG files that are not sprites (a bug) or brightmaps. What texture packs are you getting errors with? I'll check it out.

Reply Good karma+1 vote
Shr¡ke
Shr¡ke - - 281 comments

I was running the Doom Paralax mod the 512 resolution one and PBR pack, makes textures look shiny, but I'll try your method noted below.

It appears to also crash when using Brightmaps textures pack, not entirely sure why but I thought letting you know.

Reply Good karma Bad karma+1 vote
HeyDoomer Author
HeyDoomer - - 70 comments

See issue below. This version ignores PBR etc. textures but may try to read a sprite PNG depending on the GLDEFS file of another mod. This is not related to bmplustextures, which matches IWAD/WAD textures.

Reply Good karma+1 vote
Shr¡ke
Shr¡ke - - 281 comments

Alright cool I'll wait for the update I really do like the new lighting you get from objects now, seems to cast it more naturally, especially with lights on the walls and lamp posts.

Reply Good karma Bad karma+1 vote
HeyDoomer Author
HeyDoomer - - 70 comments

Note that you can try commenting out 'add_decorativelights();' in hd_relite_Events.zs. There is a bug where the sprite namespace isn't checked before loading an LMP file. That will be fixed for the next version.

Reply Good karma+1 vote
Dubman_31
Dubman_31 - - 15 comments

Shadows with Voxel Doom look all ****** up for me: Pasteboard.co

Reply Good karma Bad karma+1 vote
HeyDoomer Author
HeyDoomer - - 70 comments

You'll need to run the rl_assets Python utility that comes with the mod or just turn off shadows on the Options menu. This utility creates blurry shadows that work with any mod using sprites for animation frames, including Voxel Doom and other model-based mods. It substitutes the new sprites for those in the DECORATE lumps. It's easy and looks amazing.

Reply Good karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: