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

[BUG] On The Issue of Fire

Open 3DMasterNL opened this issue 3 weeks ago • 2 comments

Duke-RT version

Duke-RT 0.5.7

Windows version

Windows 10

Windows edition and build

Windows 10 Pro, Build 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

I saw your answer in the other topic that the big fires in E1L5 were fixed, however it doesn't really seem to have happened. Unless I'm still running a previous version, somehow (I doubt it, I deleted the whole folder and set up 0.5.7 from scratch) but still... it would be nice if in the save games, or in a corner of the main menu somewhere, Duke-RT mentions what version it is; that way we know for absolute certain.

Anyway; the fire issue, isn't just one room, or one fire, it's ALL fire; behold:

Image This is the little cave with the octabrain in it, right below where you get the blue keycard. Look how small the area is, it lights up; and look at how big the fire is in comparison. Now this is night time, it's dark out, a match stick would almost light up the same area as this fire is; it'd be slightly less bright, but it would not light up much less. This fire, should light up, brighten up the entire little cave. Only once the light leaves the cave, and it can go in all direction would the light fall off very rapidly by a cubed logarithm.

We've now dropped the San Andreas Fault and are in the cave system: Image This is just before we reach the alter, and look how little the fires do; they only light up their little alcoves, and then all but immediately drop away. Either the lights don't cast any light at all (and the bit of light we see is just legacy Build stuff) or it casts WAY too little. The only time fire of this size should do this little; is if there is significantly more powerful light sources nearby that just drown this out. But we're in a cave at night; so there's essentially no light; this fire should do more.

The altar: Image The whole little cave is dark; the only light is its alcove; again, look at how big the fire is; what should be seeing, is the altar and the prayer mat, most of the area in front of it being brighter and lite up; only the the left and right sides directly next to the alcove should be darker/shadowed, because of the U-shaped form of the altar. Instead, the left and right walls, the alter, the prayer mat, the walls behind me are all grey-out "here is no light, but I show lever geometry" drabness. Once again the same issue; the fire doesn't cast any light at all; or the level of it's light casting is far too low.

Image Light at the pond; I took the screenshot to show the opposite wall, and ground. Look where the light-casting stops; pretty much immediately at the alcove it's in. It's like the light doesn't cross the sector separator line. The floor directly below the alcove / fire; grey, here is no light; just level geometry. The wall directly across from the fire, has no obstacles whatsoever, unlike the floor that still has the bottom of the fire alcove in the way. The wall is not even two meters away from the fire; again; we are at night; there should be very little ambient light here to over power the light from the fire; there should be light playing over that wall because of that fire.

Continued in reply

Steps to reproduce

Duke-RT configuration

No response

Duke-RT log

No response

Additional context

No response

3DMasterNL avatar Nov 08 '26 22:11 3DMasterNL

Image Small detour to the edge of the Lava; showing off how low-res and blurry the lava looks compared to its surroundings; much better visually seen here than the small whirling pond in the Episode 2 level. Considering that the sludge and water don't emit light making it visible; they still seem rather smooth; more detail in surface geometry would help wit this. Image This is the fire in the alcove just before the the first major fire pit with the giant fire; not only should the giant fire still be bringing light where we are here; but the small fire should be casting light much farther. Look at the tiny half-circle just barely in front of the fire that shows light; this should go to about where my shotgun is. Image And here we are, the fire pit; I think the small circle of light is what was added; but look at how huge that fire is; it's base is white hot. The entire should fully light up the entire pit; as the sector lighting of the OG does. The light should even light up walls and floors and ceilings beyond the pit itself; even it will start to fall off. Once again; either the fires just don't cast any light; or the light intensity and distance of fire is set far too low. Image This is the fire of the secret area you will be teleported to, if you go into the big pit fire we are talking about above. I didn't specifically mention this one when I was in E1L5 last; because I was trying to explain that there is an issue with just fire itself; not merely a room, or a fire not set bright enough; no it's fire itself that is the issue. Like you should barely have to go editing here; if fire itself is properly defined as a light source, with the right amount of intensity, the rest should just follow automatically from the ray tracing itself. Did you see me complimentary screenshot in E4L11 in my previous post? You said you hadn't gone into E4 yet, and despite that, RT properly does the light of the red little power generator room, or whatever it is; and it all just works out of the box, because the various lights are just defined properly, and they cast light, including flooding into and onto the floor of the room beyond the sector separator. Fire doesn't do any of this.

Continue in reply.

3DMasterNL avatar Nov 08 '26 23:11 3DMasterNL

Image The fire at the secret with the babe; I believe you said you went in here, and did some sprucing up; and there at seems to be more light on the walls and the ceiling; but again, look at how big the fire is, versus how little. How little you ask? Behold: Image This is the corridor right before it; leading toward the babe fire. There is a lava river behind, and a huge fire in front; and yet the whole corridor is completely uniform grey-out; no light, just level geometry. The cave with the fire and babe are to the left; the light coming from it, should easily have lit up the end / corner of this corridor; then rapidly drop off in the direction of Duke. You should see the light shiny ahead, and you should be thinking, while automatically already walking toward the origin of the light, "Oh, what's up there?" Instead, there is nothing; you might outright miss the cave and turn around before you get to the destination.

This doesn't just impact static lights; but also dynamic lights. There are certain things like trash on the ground, that can be set on fire by nearby explosions; also barrels / tons that have fire inside of them will leave a fire on the ground when destroyed. Just like the stationary fires these fires cast either no light at all, or far too little.

This is of course, not just Episode 1, level E1L5; these same issues are with every fire in every episode. I don't want you, nor should you have to manually go through every level and fiddle around with every fire; the issue is that RT is not treating fire properly if at all. The RT layer itself needs to make fire start casting light / or massively increase the range of the light fire casts.

3DMasterNL avatar Nov 08 '26 23:11 3DMasterNL