MRT Index

This commit is contained in:
2026-09-17 16:38:36 -07:00
parent 70961b0336
commit f6d5f142e9
3 changed files with 34 additions and 9 deletions

View File

@ -570,9 +570,10 @@ def get_num_gbuffer_rts_deferred()-> int:
for flag in ('_gbuffer2', '_EmissionShaded', '_SSRefraction', '_VoxelRefract', '_ClearCoat'):
if flag in wrd.world_defs:
if flag in refraction_flags and not found_refraction_flag:
num += 1
found_refraction_flag = True
if flag in refraction_flags:
if not found_refraction_flag:
num += 1
found_refraction_flag = True
else:
num += 1