Change c172p to use model-combined-deferred effect, so bumpmapping works with Rembrandt.
This commit is contained in:
parent
17522e4252
commit
d65b8b347b
1 changed files with 61 additions and 0 deletions
61
Aircraft/c172p/Models/Effects/bumpspec.eff
Normal file
61
Aircraft/c172p/Models/Effects/bumpspec.eff
Normal file
|
@ -0,0 +1,61 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Bump and specular effect -->
|
||||
<PropertyList>
|
||||
<name>Aircraft/c172p/Models/Effects/bumpspec-tail</name>
|
||||
<inherits-from>Effects/model-combined-deferred</inherits-from>
|
||||
<parameters>
|
||||
<normalmap-enabled type="int"> 1 </normalmap-enabled>
|
||||
<normalmap-dds type="int"> 0 </normalmap-dds>
|
||||
<normalmap-tiling type="float"> 1.0 </normalmap-tiling>
|
||||
<texture n="2">
|
||||
<image>Aircraft/c172p/Models/Liveries/tail-normal.png</image>
|
||||
<filter>linear-mipmap-linear</filter>
|
||||
<wrap-s>repeat</wrap-s>
|
||||
<wrap-t>repeat</wrap-t>
|
||||
<internal-format>normalized</internal-format>
|
||||
</texture>
|
||||
<lightmap-enabled type="int"> 0 </lightmap-enabled>
|
||||
<reflection-enabled type="int"> 0 </reflection-enabled>
|
||||
</parameters>
|
||||
<!--WARNING: Do not edit below this line -->
|
||||
<!-- ####################
|
||||
### NORMALMAP INCLUDE ###
|
||||
######################### -->
|
||||
<generate>
|
||||
<tangent type="int">6</tangent>
|
||||
<binormal type="int">7</binormal>
|
||||
</generate>
|
||||
|
||||
<technique n="8">
|
||||
<pass>
|
||||
<program>
|
||||
<attribute>
|
||||
<name>tangent</name>
|
||||
<index>6</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>binormal</name>
|
||||
<index>7</index>
|
||||
</attribute>
|
||||
</program>
|
||||
</pass>
|
||||
</technique>
|
||||
|
||||
<technique n="9">
|
||||
<pass>
|
||||
<program>
|
||||
<attribute>
|
||||
<name>tangent</name>
|
||||
<index>6</index>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>binormal</name>
|
||||
<index>7</index>
|
||||
</attribute>
|
||||
</program>
|
||||
</pass>
|
||||
</technique>
|
||||
<!-- ########################
|
||||
### END NORMALMAP INCLUDE ###
|
||||
############################# -->
|
||||
</PropertyList>
|
Loading…
Add table
Reference in a new issue