Skip to content

"sort portalsky" in material file makes portal_sky texture render opaque black #35

@jayde-d

Description

@jayde-d

I'm currently using fhDOOM in a personal project, and i'm using the d3xp dll for the graphical features like Portalskies. But when using a portalsky material with "sort portalsky" (or "sort 1", since that's the same render layer), the texture will render black.

If everything else is set up correctly, you can usually see the Portalsky rendering correctly when you noclip out of the map. You can also make it render correctly if you remove the sort line from the material, but that means the material no longer can block bsp properly, and it doesn't seal leaks. This means the option right now is not to use a portalsky, or to have it work, but not block leaks.

The Portalsky is rendering on a test material in these screenshots, showing that it is working correctly.

Another thing I've noticed, while gathering the screenshots, that the in game screenshot function is broken with this

I'm only submitting this as an issue as it may help with ROE compatibility, but also because I can't seem to tell any difference between my files and the versions used fine in another fork of Doom 3, i can't seem to source where this issue is coming from.

I went to take screenshots in game, but they only seem to be rendering the info_portalsky output, on maps without them it just stores the last frame of the loading screen. i don't know how related this may be to the issue at hand, i attached a comparison between what in game is showing vs what i'm seeing on my screen too.

I'm also attaching my material and def for the skyportal, which are basically identical to actual thing but still, just in case.

problem_nolabels
problem illustrated, no labels
problem_labeled
problem illustrated with labels
in_game_screenshot
in game screenshot only showing _currentRender(?)/what should be shown on portal_sky material
compare_with_in game
what i saw on my screen when i took the in game screenshot

portalsky.def.txt
portalsky.mtr.txt

Thanks. Hopefully this is helpful. I'll continue to try figure it out myself but uh, i'm not very good at this, haha.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions