1
0
Fork 0

Use a 16 bit depth texture for the shadow map

This commit is contained in:
Fernando García Liñán 2021-01-05 11:23:36 +01:00
parent 5a841e2ebe
commit a5e8ffa450

View file

@ -16,7 +16,7 @@
<type>2d</type> <type>2d</type>
<width><property>/sim/rendering/shadows/sun-atlas-size</property></width> <width><property>/sim/rendering/shadows/sun-atlas-size</property></width>
<height><property>/sim/rendering/shadows/sun-atlas-size</property></height> <height><property>/sim/rendering/shadows/sun-atlas-size</property></height>
<format>depth24</format> <format>depth16</format>
<wrap-s>clamp-to-border</wrap-s> <wrap-s>clamp-to-border</wrap-s>
<wrap-t>clamp-to-border</wrap-t> <wrap-t>clamp-to-border</wrap-t>
<wrap-r>clamp-to-border</wrap-r> <wrap-r>clamp-to-border</wrap-r>