Effects/model-default.eff move skydome to technique 5 to provide more headroom
[fg:toms-fgdata.git] / Effects / model-combined-deferred.eff
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <!-- Stub effect file for Rembrandt ported model-combined,\r
3 as that one is explicitly made active under Rembrandt to\r
4 provide glass/transparent surfaces with the ubershader.\r
5 For now it only disables the ubershader under Rembrandt for\r
6 the objects that use it, and replaces it with the default shader.\r
7 -->\r
8 <PropertyList>\r
9   <name>Effects/model-combined-deferred</name>\r
10   <inherits-from>Effects/model-combined</inherits-from>\r
11 \r
12   <technique n="8">\r
13         <predicate>\r
14           <and>\r
15                 <property>/sim/rendering/rembrandt</property>\r
16                 <or>\r
17                   <less-equal>\r
18                         <value type="float">2.0</value>\r
19                         <glversion/>\r
20                   </less-equal>\r
21                   <and>\r
22                         <extension-supported>GL_ARB_shader_objects</extension-supported>\r
23                         <extension-supported>GL_ARB_shading_language_100</extension-supported>\r
24                         <extension-supported>GL_ARB_vertex_shader</extension-supported>\r
25                         <extension-supported>GL_ARB_fragment_shader</extension-supported>\r
26                   </and>\r
27                 </or>\r
28                 <extension-supported>GL_EXT_gpu_shader4</extension-supported>\r
29                 <extension-supported>GL_ARB_texture_rg</extension-supported>\r
30           </and>\r
31         </predicate>\r
32         <pass>\r
33           <lighting>false</lighting>\r
34           <material>\r
35                 <ambient>\r
36                   <use>material/ambient</use>\r
37                 </ambient>\r
38                 <diffuse>\r
39                   <use>material/diffuse</use>\r
40                 </diffuse>\r
41                 <specular>\r
42                   <use>material/specular</use>\r
43                 </specular>\r
44                 <emissive>\r
45                   <use>material/emissive</use>\r
46                 </emissive>\r
47                 <shininess>\r
48                   <use>material/shininess</use>\r
49                 </shininess>\r
50                 <color-mode>ambient-and-diffuse</color-mode>\r
51           </material>\r
52           <program>\r
53                 <vertex-shader n="1">Shaders/deferred-gbuffer.vert</vertex-shader>\r
54                 <fragment-shader n="1">Shaders/deferred-gbuffer.frag</fragment-shader>\r
55           </program>\r
56         </pass>\r
57   </technique>\r
58 </PropertyList>