Skip to content

Renderer: unused features, untested features, and unported features #662

@illwieckz

Description

@illwieckz

One a side note of this:

Remove sunShader and flareShader. They are only used in ET and not
actually used anywhere in the engine. They just spam us.

I would like to know what those features were for and if we can benefit from them.

We have many things that are not working and because we don't use them no one fixes them or port them, and with time they just get deleted.

  • we have water code, but it is currently partially broken, we can see there we had one day a working implementation (maybe in a branch, though): https://unvanquished.net/the-human-model-and-new-map-features.
  • we have cubemapping with automatic cubemap generation, it's mostly working now, however some issues still remain, see Static reflections issues #1310.
  • we have HDR lightmap code, untested, some code was even removed when doing clean-up: Remove unused libs/openexr #467 . For information the related q3map2 code exists in our old daemonmap (wolfmap), there also exist another q3map2 patch by some OpenJK developers.
  • we have something that may be direct sunlight or direct sun shadow I don't know but no one knows if it had ever worked once, and it has to be ported over the tiled renderer.
  • we have dynamic shadows but they were badly broken and they have to be ported over to the tiled renderer.
  • the PBR code is untested and is likely wrong (I suspect the roughness to be inverted, if yes it's easy to fix, I suspect the metalness to be wrong, I don't know the fix).

I would like to nuke the old forward renderer one day, but then we would nuke code we want to port.

The only successful feature restoration and fix (XreaL was wrong) I know was the parallax mapping stuff:

Screenshot with working water texture from 2012 (Citadel map):

water

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions