forked from LeenkxTeam/LNXSDK
SSRS Fix
This commit is contained in:
@ -669,20 +669,13 @@ class Inc {
|
|||||||
#end
|
#end
|
||||||
|
|
||||||
#if rp_ssrs
|
#if rp_ssrs
|
||||||
#if (!kha_opengl)
|
#if kha_opengl
|
||||||
path.setDepthFrom("accum", "gbuffer1"); // Unbind depth so we can read it
|
|
||||||
#end
|
|
||||||
path.bindTarget("_main", "gbufferD");
|
path.bindTarget("_main", "gbufferD");
|
||||||
#end
|
#end
|
||||||
|
#end
|
||||||
|
|
||||||
path.drawMeshes("translucent");
|
path.drawMeshes("translucent");
|
||||||
|
|
||||||
#if rp_ssrs
|
|
||||||
#if (!kha_opengl)
|
|
||||||
path.setDepthFrom("accum", "gbuffer0"); // Re-bind depth
|
|
||||||
#end
|
|
||||||
#end
|
|
||||||
|
|
||||||
#if rp_render_to_texture
|
#if rp_render_to_texture
|
||||||
{
|
{
|
||||||
path.setTarget(target);
|
path.setTarget(target);
|
||||||
|
|||||||
Reference in New Issue
Block a user