Duke-RT icon indicating copy to clipboard operation
Duke-RT copied to clipboard

[BUG] Texture shows only half (and various others)

Open 3DMasterNL opened this issue 1 month ago • 8 comments

Duke-RT version

Duke-RT 0.5.4

Windows version

Windows 10

Windows edition and build

Windows 10 22H2

Relevant hardware and driver information

Nvidia RTX 4080 driver 617.14

Graphics API

Direct3D 12

Existing issues

  • [x] I searched the existing issues and did not find the same problem.

Bug description

Texture shows only half; E1M3 chapel; battlelord head switch texture. The big square switch on the altar that switches the hidden area behind the altar into a configuration you can access it; usually also activates the Octobrain residing in said secret area.

This was one of the switch textures that were completely invisible in 0.5.2; I'm guessing the new result has got something to do with the fix.

Steps to reproduce

1.Get to the chapel in E1M3. 2. 3.

Duke-RT configuration

Duke-RT.Ini.zip

Duke-RT log

duke-rt.log

Additional context

No response

3DMasterNL avatar Oct 12 '26 03:10 3DMasterNL

Okay, turns out it's too late and I'm to tired to add to it, I suddenly need to fight sleep, and it's difficult to think of coherent sentences; will do so in morning.

Okay, it's morning; let's go:

General issue: Light flashing on (especially first) pickup; and any pickup that Duke verbally responds to is so bright, and goes away so slowly that it outright impairs visibility to the point where I can't properly aim at enemies and have almost died because of it several times. I don't remember any flash in the original on pickup; if there was, it was completely unobtrusive. Maybe there was only a border flash, and RT treats it as an actual in-game light source that blinds you; either way, this has got to be fixed.

E1M1: 1. The light in the projector room, barely does anything at all; the white square texture in the ceiling remains on; it's only slightly less bright. It makes so little difference I switched the light switch multiple times and noticed nothing; it wasn't until looking directly at the project and flipping the switch I noticed a slight difference. The light should really go off; the only light source left coming from the projector. Basically some tiny colored "on" lights and the projection beam. I don't know how capable RTX is these days; but I don't think it's capable of a bright, narrow that only marginally lights up the area around it; especially not with glowing dust particles floating in it; but whatever you can do to somewhat simulate that, that would be awesome.

Of course the ultimate future would be that projector actually projects the image; as in when you blow the screen wall; there isn't just a hole in the supposed projected image, proving it's just a texture on the wall, but that the image actually continues on the secret area wall behind it.

  1. Light in the bathroom; it is on, and when you flip the switch it goes off. This is reversed from in the original, where it was and you flipped it on. The latter makes more sense; if there was light, the enemies should also be able to see you; so why don't they active. The idea is that they are lying in ambush, and with the light off, you barely see them. You turning on the light makes them visible, and if you move fast enough you surprise them and they only activate after you're already shooting them. The way it is now it completely breaks this idea; it would be better to set this light to off default, and the player has to turn it on, as it used to be.

3DMasterNL avatar Oct 12 '26 03:10 3DMasterNL

E1M2: 1. In the bookstore there is a door locked by a combination look; behind it, in the original is a near pitch black corridor, with a side room with some enemies and an atomic health. In RT it is well-lit; even when the door is closed; this is because the fixtures in the elevators are treated as lights; and smoothly but gently lights the entire corridor. This breaks with the original intension of this area; this is supposed to be truly dark; indeed; there's a night vision goggles to be found in the bathroom not 10 steps away, that you can use here. Indeed, I usually turn night vision on here; but I have no need for it in RT. Now this elevator has no doors; in a locked off storage like space; this elevator thus seems more like a freight elevator than a person elevator; even though people would be using it. But people who know the area by heart; so I don't think it would have nicely lit lamps so bright it lights up the whole corridor. I'd turn the lights off, or far less; like mimicking a tiny bit of light leakage from above through the gaps between the elevator and the wall; this place, once the door closes should be all but pitch black.

  1. The sewer section; it's too bright; it also seems to not have any RT features; and it's still operating on sector lighting; but not quite either. The sewer seems very dull with no difference is light and dark at all; while the original had more lit areas and darker areas. The only lights here should be coming from the alcove where the items are stored; and the manhole cover. Indeed, IIRC they made the area directly below the manhole cover slightly brighter than the rest. The look and feel of this place should really be restored; make the manhole a light source; make the item alcove a proper light source, make there be light and light fall off. and make it darker where there should be a lot of light.

3DMasterNL avatar Oct 12 '26 11:10 3DMasterNL

E1M3: 1. As said; the button in the chapel, only the right half is visible.

  1. This level is mostly okay; I don't remember any blatant issues; the only thing I can think of; is play with light levels more. For example; I don't think there's much of a difference to the corridor toward the blue keycard door, before or after the wall blows to where you get the blue keycard; while there is lightsources there; there is a wall there that blocks some of the light; but still. Ironically enough, it is better than folks who set every light to fullbright in other Ray-Tracing mods, but still.

E1M4: The only thing here I can remember as standing out not looking good, is the great big toxic sludge sewer? / pipe? It's much like the sewer in E1M2; no light differences; just uniform low light; much lighter than you would expect given the very few light sources; and even the light sources themselves; do rather little to change the uniformity of the light in the area. Getting closer to an alcove fitted with lights, doesn't make the area gradually brighter, nor darker; given how little reason there is in both the OG and even more in RT so far; it's not a bad idea to darken this place away from the few light source, that using night vision is not a luxury.

3DMasterNL avatar Oct 12 '26 11:10 3DMasterNL

E1M6: 1. I believe this is where someone previously mentioned a missing texture on the ground, or rather underground; it's the same texture as the grate above: it mimics light coming through the great and lighting up the floor where it does. I believe you said with the Rayze/RTX it's very difficult if not impossible to show the texture; but here's the thing; you don't have to. Just add a light source above the grate/ventilator thingy so the pattern on the floor is produced by actual light and shadow.

  1. I don't remember the explosions of the destroying rocket casting much light on the launch pad area, maybe I missremember; but this would be a good thing to add if I'm right.

E1M5: I realize that some these might not be oversights / bugs / issues; they might just be areas you haven't gotten to yet, given RT is at 0.5.4 rather than 1.0; but still I thought it would be good to write down everything I noticed in my playthrough; and one thing I noticed, nor just in E1M5 but all throughout, but it really stands out here; that fires either don't cast any light at all, or FAR too little. For example in E1M5 there is this giant fire in a pit that doubles as a teleporter to a secret area; this fire should fully light up the pit; as the sector lighting of the OG shows/does. Yet, here, there's nothing; the pit is just as dark as the area around it. The smaller fire in the alcove above and just before the pit seems to cast a tiny bit of light, but basically only in its alcove; in fact I'm not sure where the light for this whole area comes from. The fires don't produce enough light, although they should, and any other light source is too far way around bends and slope; so it almost seems you can see anything here only due to some legacy "show the level geometry and textures on it" functionality. The big fire at the secret with the dancing girl and the atomic health in front of it casts no light, the area and the girl are dark; rather than lit up.

The only other level I've played as of yet is E2M1; which was very well done; the only thing I can think that might be improved is the small closet where you get the blue keycard; it has a small peak hole; but I don't remember a light shaft / lit up area due to any light coming through there.

Overall though; very good stuff.

3DMasterNL avatar Oct 12 '26 11:10 3DMasterNL

Oh, oh, oh, I forgot; flying cop cars in E1M2; but I assume in any other places they are as well; get stuck sometimes; they just seem to bump onto something that isn't really there, bounce back, turn around to resume their flight, and then bounce off of the same thing. If you look around the first corner toward the building you eventually demolish, you can see it happening with the first flying cop car you come across; if you didn't successfully destroy it. It will bob about right next to the inactive copcar there; it may even be bouncing off of the copcar; a bounding box issue with a voxel versus a flat sprite, maybe.

Anyway, I also noticed it close by the starting elevator right next to the bookstore, right after I shot down another copcar. The second copcar exhibit the same behavior coming across the smoke column the shot down copcar produced. Once the smoke column cleared the copcar continues it's proper behavior, flying toward and attacking me.

I've only ever played with voxels with RT; not with eDuke32 what Cheello's voxels are made for; so I don't know if the issues existed there already and it's purely Cheello's voxels that cause this, or it's an issue natively with Rayze and the Voxels, or it's something your conversion introduced. I have played eDuke32 with the HRP and the models it brings in; those 3D models never had the same issue, they didn't get stuck like this behind each other, so...

3DMasterNL avatar Oct 12 '26 12:10 3DMasterNL

wow thanks for the incredibly detailed breakdowns on what you're seeing! some of the issues you're describing are lighting tuning issues that i need to make another pass on (like the E1L1 projector room lighting). others might be bugs or asset issues. i'll go through these and make some additions to my to do list! much appreciated!

postmemetic avatar Oct 18 '26 01:10 postmemetic

i tackled a bunch of these issues that you've called out in the course of my latest lighting and sector color polish pass! thanks again for the detailed list, it came in handy! i didn't address all the things you've pointed out, but i did do many:

  • e1l1 projector room light responsiveness
  • e1l2 sewer lights
  • e1l4 pipe lights
  • e1l5 missing fire light in pit
  • e1l5 missing fire light in secret area

i've left some of the other stuff as-is because i sort of disagreed on artistic intent, and the button in the chapel for e1l3 needs a whole separate fix. i also tweaked a lot of other lights throughout episode 1, and am currently considering it done for my current purposes. thanks for taking the time on all this!

i'll close this issue out once i produce a fresh release with the changes in it.

postmemetic avatar Nov 02 '26 04:11 postmemetic

fixes are in with release 0.5.7! will address that handprint texture in a separate fix.

postmemetic avatar Nov 06 '26 21:11 postmemetic