1
0
Fork 0

Change vertex attributes of buildings and lights

See related SimGear commit 1c2a39fa.
This commit is contained in:
Fernando García Liñán 2023-04-21 02:21:15 +02:00
parent 691337a00e
commit 51b8141575
2 changed files with 16 additions and 16 deletions

View file

@ -119,19 +119,19 @@
<vertex-shader n="0">Shaders/building-model-ALS-ultra.vert</vertex-shader>
<attribute>
<name>instancePosition</name>
<index>10</index>
<index>9</index>
</attribute>
<attribute>
<name>instanceScale</name>
<index>11</index>
<index>10</index>
</attribute>
<attribute>
<name>attrib1</name>
<index>12</index>
<index>11</index>
</attribute>
<attribute>
<name>attrib2</name>
<index>13</index>
<index>12</index>
</attribute>
</program>
</pass>
@ -144,19 +144,19 @@
<vertex-shader n="0">Shaders/building-ALS.vert</vertex-shader>
<attribute>
<name>instancePosition</name>
<index>10</index>
<index>9</index>
</attribute>
<attribute>
<name>instanceScale</name>
<index>11</index>
<index>10</index>
</attribute>
<attribute>
<name>attrib1</name>
<index>12</index>
<index>11</index>
</attribute>
<attribute>
<name>attrib2</name>
<index>13</index>
<index>12</index>
</attribute>
</program>
</pass>
@ -168,19 +168,19 @@
<vertex-shader n="1">Shaders/building-default.vert</vertex-shader>
<attribute>
<name>instancePosition</name>
<index>10</index>
<index>9</index>
</attribute>
<attribute>
<name>instanceScale</name>
<index>11</index>
<index>10</index>
</attribute>
<attribute>
<name>attrib1</name>
<index>12</index>
<index>11</index>
</attribute>
<attribute>
<name>attrib2</name>
<index>13</index>
<index>12</index>
</attribute>
</program>
</pass>

View file

@ -74,19 +74,19 @@
<fragment-shader>Shaders/noise.frag</fragment-shader>
<attribute>
<name>lightParams</name>
<index>11</index>
<index>9</index>
</attribute>
<attribute>
<name>animationParams</name>
<index>12</index>
<index>10</index>
</attribute>
<attribute>
<name>directionParams1</name>
<index>13</index>
<index>11</index>
</attribute>
<attribute>
<name>directionParams2</name>
<index>14</index>
<index>12</index>
</attribute>
</program>
<uniform>