Advertisement
Guest User

Untitled

a guest
Jul 29th, 2021
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.46 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <PropertyList>
  4.   <name>Classic-Upscaling</name>
  5.  
  6.   <buffer>
  7.     <name>color</name>
  8.     <type>2d</type>
  9.     <width>screen</width>
  10.     <height>screen</height>
  11.     <screen-width-scale>
  12.       <property>/sim/rendering/scaling-factor</property>
  13.     </screen-width-scale>
  14.     <screen-height-scale>
  15.       <property>/sim/rendering/scaling-factor</property>
  16.     </screen-height-scale>
  17.     <format>rgba8</format>
  18.   </buffer>
  19.   <buffer>
  20.     <name>depth</name>
  21.     <type>2d</type>
  22.     <width>screen</width>
  23.     <height>screen</height>
  24.     <screen-width-scale>
  25.       <property>/sim/rendering/scaling-factor</property>
  26.     </screen-width-scale>
  27.     <screen-height-scale>
  28.       <property>/sim/rendering/scaling-factor</property>
  29.     </screen-height-scale>
  30.     <format>depth24</format>
  31.   </buffer>
  32.   <buffer>
  33.     <name>sun-shadowmap-atlas</name>
  34.     <type>2d</type>
  35.     <width><property>/sim/rendering/shadows/sun-atlas-size</property></width>
  36.     <height><property>/sim/rendering/shadows/sun-atlas-size</property></height>
  37.     <format>depth16</format>
  38.     <wrap-s>clamp-to-border</wrap-s>
  39.     <wrap-t>clamp-to-border</wrap-t>
  40.     <wrap-r>clamp-to-border</wrap-r>
  41.     <min-filter>linear</min-filter>
  42.     <mag-filter>linear</mag-filter>
  43.     <border-color type="vec4d">1.0 1.0 1.0 1.0</border-color>
  44.     <shadow-comparison>true</shadow-comparison>
  45.     <condition>
  46.       <property>/sim/rendering/shadows/enabled</property>
  47.     </condition>
  48.   </buffer>
  49.  
  50.   <pass n="0" include="csm-pass.xml">
  51.     <name>csm0</name>
  52.     <near-m>0.1</near-m>
  53.     <far-m>3.0</far-m>
  54.     <viewport>
  55.       <x>0.0</x>
  56.       <y>0.0</y>
  57.       <width>0.5</width>
  58.       <height>0.5</height>
  59.     </viewport>
  60.   </pass>
  61.   <pass n="1" include="csm-pass.xml">
  62.     <name>csm1</name>
  63.     <near-m>3.0</near-m>
  64.     <far-m>70.0</far-m>
  65.     <viewport>
  66.       <x>0.5</x>
  67.       <y>0.0</y>
  68.       <width>0.5</width>
  69.       <height>0.5</height>
  70.     </viewport>
  71.   </pass>
  72.   <pass n="2" include="csm-pass.xml">
  73.     <name>csm2</name>
  74.     <near-m>70.0</near-m>
  75.     <far-m>300.0</far-m>
  76.     <viewport>
  77.       <x>0.0</x>
  78.       <y>0.5</y>
  79.       <width>0.5</width>
  80.       <height>0.5</height>
  81.     </viewport>
  82.   </pass>
  83.   <pass n="3" include="csm-pass.xml">
  84.     <name>csm3</name>
  85.     <near-m>300.0</near-m>
  86.     <far-m>1000.0</far-m>
  87.     <viewport>
  88.       <x>0.5</x>
  89.       <y>0.5</y>
  90.       <width>0.5</width>
  91.       <height>0.5</height>
  92.     </viewport>
  93.   </pass>
  94.  
  95.   <pass n="10" include="common-scene.xml">
  96.     <name>far</name>
  97.     <clear-mask>color depth</clear-mask>
  98.     <z-near>100.0</z-near>
  99.     <attachment>
  100.       <component>color</component>
  101.       <buffer>color</buffer>
  102.     </attachment>
  103.     <attachment>
  104.       <component>depth</component>
  105.       <buffer>depth</buffer>
  106.     </attachment>
  107.   </pass>
  108.   <pass n="11" include="common-scene.xml">
  109.     <name>near</name>
  110.     <cull-mask>0xfff7ff</cull-mask> <!-- Cull the sky (bit 11 off) -->
  111.     <!-- Only clear the depth buffer so color information isn't overwritten -->
  112.     <clear-mask>depth</clear-mask>
  113.     <z-far>100.0</z-far>
  114.     <attachment>
  115.       <component>color</component>
  116.       <buffer>color</buffer>
  117.     </attachment>
  118.     <attachment>
  119.       <component>depth</component>
  120.       <buffer>depth</buffer>
  121.     </attachment>
  122.   </pass>
  123.   <pass n="12">
  124.     <name>display</name>
  125.     <type>quad</type>
  126.     <binding>
  127.       <unit>0</unit>
  128.       <buffer>color</buffer>
  129.     </binding>
  130.   </pass>
  131. </PropertyList>
  132.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement