Object Occlusion Culling
This commit is contained in:
@ -190,6 +190,9 @@ def build():
|
||||
rpdat = lnx.utils.get_rp()
|
||||
project_path = lnx.utils.get_fp()
|
||||
|
||||
if rpdat.lnx_frustum_culling:
|
||||
assets.add_khafile_def('lnx_frustum_culling')
|
||||
|
||||
if rpdat.rp_driver != 'Leenkx' and lnx.api.drivers[rpdat.rp_driver]['make_rpath'] != None:
|
||||
lnx.api.drivers[rpdat.rp_driver]['make_rpath']()
|
||||
return
|
||||
@ -210,6 +213,9 @@ def build():
|
||||
if rpdat.rp_hdr:
|
||||
assets.add_khafile_def('rp_hdr')
|
||||
|
||||
if rpdat.lnx_occlusion_culling:
|
||||
assets.add_khafile_def('lnx_occlusion_culling')
|
||||
|
||||
assets.add_khafile_def('rp_renderer={0}'.format(rpdat.rp_renderer))
|
||||
if rpdat.rp_depthprepass:
|
||||
assets.add_khafile_def('rp_depthprepass')
|
||||
|
||||
Reference in New Issue
Block a user