Change buildings and lights vertex attributes (again)
See related SimGear commit 009547c0.
This commit is contained in:
parent
827f9cdc49
commit
5c33dafdec
2 changed files with 20 additions and 20 deletions
|
@ -123,19 +123,19 @@
|
|||
<vertex-shader n="0">Shaders/building-model-ALS-ultra.vert</vertex-shader>
|
||||
<attribute>
|
||||
<name>instancePosition</name>
|
||||
<index>9</index>
|
||||
<index>6</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>instanceScale</name>
|
||||
<index>10</index>
|
||||
<index>7</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>attrib1</name>
|
||||
<index>11</index>
|
||||
<index>10</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>attrib2</name>
|
||||
<index>12</index>
|
||||
<index>11</index>
|
||||
</attribute>
|
||||
</program>
|
||||
</pass>
|
||||
|
@ -148,19 +148,19 @@
|
|||
<vertex-shader n="0">Shaders/building-ALS.vert</vertex-shader>
|
||||
<attribute>
|
||||
<name>instancePosition</name>
|
||||
<index>9</index>
|
||||
<index>6</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>instanceScale</name>
|
||||
<index>10</index>
|
||||
<index>7</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>attrib1</name>
|
||||
<index>11</index>
|
||||
<index>10</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>attrib2</name>
|
||||
<index>12</index>
|
||||
<index>11</index>
|
||||
</attribute>
|
||||
</program>
|
||||
</pass>
|
||||
|
@ -172,19 +172,19 @@
|
|||
<vertex-shader n="1">Shaders/building-default.vert</vertex-shader>
|
||||
<attribute>
|
||||
<name>instancePosition</name>
|
||||
<index>9</index>
|
||||
<index>6</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>instanceScale</name>
|
||||
<index>10</index>
|
||||
<index>7</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>attrib1</name>
|
||||
<index>11</index>
|
||||
<index>10</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>attrib2</name>
|
||||
<index>12</index>
|
||||
<index>11</index>
|
||||
</attribute>
|
||||
</program>
|
||||
</pass>
|
||||
|
@ -198,19 +198,19 @@
|
|||
<vertex-shader n="0">Shaders/HDR/model_building.vert</vertex-shader>
|
||||
<attribute>
|
||||
<name>instancePosition</name>
|
||||
<index>9</index>
|
||||
<index>6</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>instanceScale</name>
|
||||
<index>10</index>
|
||||
<index>7</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>attrib1</name>
|
||||
<index>11</index>
|
||||
<index>10</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>attrib2</name>
|
||||
<index>12</index>
|
||||
<index>11</index>
|
||||
</attribute>
|
||||
</program>
|
||||
</pass>
|
||||
|
|
|
@ -74,19 +74,19 @@
|
|||
<fragment-shader>Shaders/noise.frag</fragment-shader>
|
||||
<attribute>
|
||||
<name>lightParams</name>
|
||||
<index>9</index>
|
||||
<index>6</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>animationParams</name>
|
||||
<index>10</index>
|
||||
<index>7</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>directionParams1</name>
|
||||
<index>11</index>
|
||||
<index>10</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>directionParams2</name>
|
||||
<index>12</index>
|
||||
<index>11</index>
|
||||
</attribute>
|
||||
</program>
|
||||
<uniform>
|
||||
|
|
Loading…
Add table
Reference in a new issue