Migration vers UPBGE 0.36

This commit is contained in:
Philippe Roy 2023-07-11 00:45:33 +02:00
parent d1b72bcfa6
commit b51c70b8d6
5 changed files with 21 additions and 15 deletions

BIN
ropy-33.blend Normal file

Binary file not shown.

BIN
ropy_33.blend Normal file

Binary file not shown.

3
rp.py
View File

@ -132,7 +132,8 @@ def terrain_init (cont):
return False return False
# Configuration du moteur de rendu # Configuration du moteur de rendu
eevee.use_eevee_smaa = True # eevee.use_eevee_smaa = True # Option obsolète depuis la version UPBGE 0.36
eevee.use_taa_reprojection = True
# Ajout du Hud # Ajout du Hud
scene.active_camera = scene.objects["Camera"] scene.active_camera = scene.objects["Camera"]

View File

@ -423,7 +423,8 @@ def quality_apply(quality, start_flag=False):
# Inconvenant # Inconvenant
if quality== 0: if quality== 0:
eevee.use_eevee_smaa = False # Subpixel Morphological Antialiasing # eevee.use_eevee_smaa = False # Option obsolète depuis la version UPBGE 0.36
eevee.use_taa_reprojection = False
eevee.use_ssr = False # Screen space reflection eevee.use_ssr = False # Screen space reflection
eevee.use_gtao = False # Ambient occlusion eevee.use_gtao = False # Ambient occlusion
eevee.taa_render_samples = 1 eevee.taa_render_samples = 1
@ -435,8 +436,9 @@ def quality_apply(quality, start_flag=False):
# Basse # Basse
if quality== 1: if quality== 1:
eevee.use_eevee_smaa = True # eevee.use_eevee_smaa = True # Option obsolète depuis la version UPBGE 0.36
eevee.smaa_quality= 'LOW' eevee.use_taa_reprojection = True
# eevee.smaa_quality= 'LOW' # Option obsolète depuis la version UPBGE 0.36
eevee.use_ssr = True # Screen space reflection eevee.use_ssr = True # Screen space reflection
eevee.use_ssr_refraction = False # Screen space refractions eevee.use_ssr_refraction = False # Screen space refractions
eevee.use_ssr_halfres = True eevee.use_ssr_halfres = True
@ -450,8 +452,9 @@ def quality_apply(quality, start_flag=False):
# Moyenne # Moyenne
if quality== 2: if quality== 2:
eevee.use_eevee_smaa = True # eevee.use_eevee_smaa = True # Option obsolète depuis la version UPBGE 0.36
eevee.smaa_quality= 'MEDIUM' eevee.use_taa_reprojection = True
# eevee.smaa_quality= 'MEDIUM' # Option obsolète depuis la version UPBGE 0.36
eevee.use_ssr = True # Screen space reflection eevee.use_ssr = True # Screen space reflection
eevee.use_ssr_refraction = True # Screen space refractions eevee.use_ssr_refraction = True # Screen space refractions
eevee.use_ssr_halfres = True eevee.use_ssr_halfres = True
@ -465,8 +468,9 @@ def quality_apply(quality, start_flag=False):
# Haute # Haute
if quality== 3: if quality== 3:
eevee.use_eevee_smaa = True # eevee.use_eevee_smaa = True # Option obsolète depuis la version UPBGE 0.36
eevee.smaa_quality= 'HIGH' eevee.use_taa_reprojection = True
# eevee.smaa_quality= 'HIGH' # Option obsolète depuis la version UPBGE 0.36
eevee.use_ssr = True eevee.use_ssr = True
eevee.use_ssr_refraction = True eevee.use_ssr_refraction = True
eevee.use_ssr_halfres = False eevee.use_ssr_halfres = False
@ -480,8 +484,9 @@ def quality_apply(quality, start_flag=False):
# Épique # Épique
if quality== 4: if quality== 4:
eevee.use_eevee_smaa = True # eevee.use_eevee_smaa = True # Option obsolète depuis la version UPBGE 0.36
eevee.smaa_quality= 'ULTRA' eevee.use_taa_reprojection = True
# eevee.smaa_quality= 'ULTRA' # Option obsolète depuis la version UPBGE 0.36
eevee.use_ssr = True eevee.use_ssr = True
eevee.use_ssr_refraction = True eevee.use_ssr_refraction = True
eevee.use_ssr_halfres = False eevee.use_ssr_halfres = False

View File

@ -3,13 +3,13 @@
<speed>1.0</speed> <speed>1.0</speed>
<sound>False</sound> <sound>False</sound>
<cam> <cam>
<worldPosition.x>0.0057830810546875</worldPosition.x> <worldPosition.x>-11.044218063354492</worldPosition.x>
<worldPosition.y>-26.440298080444336</worldPosition.y> <worldPosition.y>1.4581406116485596</worldPosition.y>
<worldPosition.z>20.22315788269043</worldPosition.z> <worldPosition.z>1.424286127090454</worldPosition.z>
</cam> </cam>
<screen> <screen>
<width>1557</width> <width>1297</width>
<height>875</height> <height>730</height>
<quality>4</quality> <quality>4</quality>
</screen> </screen>
</config> </config>