44 lines
1,002 B
XML
44 lines
1,002 B
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<PropertyList>
|
|
<name>Effects/projection-2d</name>
|
|
<parameters>
|
|
<hfov><use>/sim/current-view/field-of-view</use></hfov>
|
|
<display_xsize>
|
|
<use>/sim/startup/xsize</use>
|
|
</display_xsize>
|
|
<display_ysize>
|
|
<use>/sim/startup/ysize</use>
|
|
</display_ysize>
|
|
</parameters>
|
|
<technique n="1">
|
|
<pass>
|
|
<program>
|
|
<fragment-shader>Shaders/projection-2d.frag</fragment-shader>
|
|
</program>
|
|
<texture-unit>
|
|
<unit>2</unit>
|
|
<type>2d</type>
|
|
</texture-unit>
|
|
<uniform>
|
|
<name>display_x</name>
|
|
<type>int</type>
|
|
<value><use>display_xsize</use></value>
|
|
</uniform>
|
|
<uniform>
|
|
<name>display_y</name>
|
|
<type>int</type>
|
|
<value><use>display_ysize</use></value>
|
|
</uniform>
|
|
<uniform>
|
|
<name>hfov</name>
|
|
<type>float</type>
|
|
<value><use>hfov</use></value>
|
|
</uniform>
|
|
<uniform>
|
|
<name>iChannel0</name>
|
|
<type>sampler-2d</type>
|
|
<value>2</value>
|
|
</uniform>
|
|
</pass>
|
|
</technique>
|
|
</PropertyList>
|