Skip to content

RadiantGI not honoring reshade depth preprocessors #22

Description

@TerrorizedGakon

Hi,

I unfortunately found an annoying problem with the shader - it does not take into consideration preprocessor directives like RESHADE_DEPTH_INPUT_X_SCALE or RESHADE_DEPTH_INPUT_LINEARIZATION_FAR_PLANE.

So, to me, the shader was totally unusable, until I modified it a tiny bit. Adding support for RESHADE_DEPTH_INPUT_X_SCALE was not diffcult for somebody who can't code at all, all it took is copying lines from reshade.fxh to the correct place... but implementing RESHADE_DEPTH_INPUT_LINEARIZATION_FAR_PLANE is not something I can do..

Would it be diffcult for you to modify the shader to respect these preprocessors? So the shader can be used in non standard cases where the depth buffer needs to be altered.. or in conjuction with other shaders like MXAO, which have support for these directives.

Thanks

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