First version of default terrain effects file
This commit is contained in:
parent
df03142574
commit
e32c47d795
1 changed files with 75 additions and 0 deletions
75
Effects/terrain-default.eff
Normal file
75
Effects/terrain-default.eff
Normal file
|
@ -0,0 +1,75 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PropertyList>
|
||||
<name>default-effect</name>
|
||||
<!-- <inherits-from>another-effect</inherits-from> -->
|
||||
<parameters>
|
||||
<material>
|
||||
<ambient type="vec4d">
|
||||
0.2 .2 0.2 1.0
|
||||
</ambient>
|
||||
<diffuse type="vec4d">
|
||||
.8 .8 .8 1.0
|
||||
</diffuse>
|
||||
<specular type="vec4d">
|
||||
0.0 0.0 0.0 1.0
|
||||
</specular>
|
||||
<emissive type="vec4d">
|
||||
0.0 0.0 0.0 1.0
|
||||
</emissive>
|
||||
<shininess>1.2</shininess>
|
||||
</material>
|
||||
<texture0>
|
||||
<texture2d>
|
||||
<image>Textures/unknown.png</image>
|
||||
<filter>linear-mipmap-linear</filter>
|
||||
<!-- also repeat -->
|
||||
<wrap-s>repeat</wrap-s>
|
||||
<wrap-t>repeat</wrap-t>
|
||||
<!--
|
||||
<wrap-r>clamp-to-border</wrap-r>
|
||||
-->
|
||||
<!-- float, signed-integer, integer -->
|
||||
<internal-format>normalized</internal-format>
|
||||
</texture2d>
|
||||
</texture0>
|
||||
<transparent>false</transparent>
|
||||
<render-bin>
|
||||
<bin-number>0</bin-number>
|
||||
<bin-name>RenderBin</bin-name>
|
||||
</render-bin>
|
||||
</parameters>
|
||||
<technique>
|
||||
<pass>
|
||||
<lighting>true</lighting>
|
||||
<material>
|
||||
<ambient><use>material/ambient</use></ambient>
|
||||
<diffuse><use>material/diffuse</use></diffuse>
|
||||
<specular><use>material/specular</use></specular>
|
||||
<color-mode>ambient-and-diffuse</color-mode>
|
||||
</material>
|
||||
<blend><use>transparent</use></blend>
|
||||
<alpha-test><use>transparent</use></alpha-test>
|
||||
<shade-model>smooth</shade-model>
|
||||
<cull-face>back</cull-face>
|
||||
<render-bin>
|
||||
<bin-number><use>render-bin/bin-number</use></bin-number>
|
||||
<bin-name><use>render-bin/bin-name</use></bin-name>
|
||||
</render-bin>
|
||||
<texture-unit>
|
||||
<unit>0</unit>
|
||||
<texture2d><use>texture0/texture2d</use>
|
||||
<image><use>texture0/texture2d/image</use></image>
|
||||
<filter><use>texture0/texture2d/filter</use></filter>
|
||||
<wrap-s><use>texture0/texture2d/wrap-s</use></wrap-s>
|
||||
<wrap-t><use>texture0/texture2d/wrap-t</use></wrap-t>
|
||||
<internal-format>
|
||||
<use>texture0/texture2d/internal-format</use>
|
||||
</internal-format>
|
||||
</texture2d>
|
||||
<environment>
|
||||
<mode>modulate</mode>
|
||||
</environment>
|
||||
</texture-unit>
|
||||
</pass>
|
||||
</technique>
|
||||
</PropertyList>
|
Loading…
Reference in a new issue