Skip to content

Commit

Permalink
Add support for render group 40, 41
Browse files Browse the repository at this point in the history
Wow, it was not easy to get documentation on this; in the end I settled
for
http://junkymana.deviantart.com/art/XNALara-XPS-Render-Groups-543000260
which links to a source that does not have full data. There’s a number
of render groups in that list that is still missing; I started with
those for which I had a test model. Seems to work.

Also this proves that the new shader infrastructure does its job well.
  • Loading branch information
cochrane committed Jun 16, 2017
1 parent 997d6ab commit 97f5b43
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions GLLara/Model Parameters/xnaLaraDefault.modelparams.plist
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,56 @@
</dict>
<key>shaders</key>
<dict>
<key>DiffuseBumpSeparateSpecular</key>
<dict>
<key>defines</key>
<dict>
<key>CALCULATE_TANGENT_TO_WORLD</key>
<string>1</string>
<key>SEPARATE_SPECULAR_TEXTURE</key>
<string>1</string>
<key>CAMERA_DIRECTION</key>
<string>1</string>
<key>DIFFUSE</key>
<string>1</string>
<key>AMBIENT_COLOR</key>
<string>1</string>
<key>VERTEX_COLOR</key>
<string>1</string>
<key>SPECULAR</key>
<string>1</string>
<key>RENDER_PARAMETERS</key>
<string>1</string>
<key>USE_SKINNING</key>
<string>1</string>
</dict>
<key>additionalParameters</key>
<array>
<string>bumpSpecularGloss</string>
</array>
<key>parameters</key>
<array>
<string>bumpSpecularAmount</string>
</array>
<key>textures</key>
<array>
<string>diffuseTexture</string>
<string>bumpTexture</string>
<string>specularTexture</string>
</array>
<key>alphaMeshGroups</key>
<array>
<string>MeshGroup41</string>
</array>
<key>solidMeshGroups</key>
<array>
<string>MeshGroup40</string>
</array>
<key>fragment</key>
<string>Combined.fs</string>
<key>vertex</key>
<string>Combined.vs</string>
</dict>
<key>DiffuseSpecular</key>
<dict>
<key>defines</key>
Expand Down

0 comments on commit 97f5b43

Please sign in to comment.