MRT Index
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user