diff --git a/Aircraft/Generic/Effects/ReflectMaps/null_reflectdirt.png b/Aircraft/Generic/Effects/ReflectMaps/null_reflectdirt.png new file mode 100644 index 000000000..fcbf0b011 Binary files /dev/null and b/Aircraft/Generic/Effects/ReflectMaps/null_reflectdirt.png differ diff --git a/Aircraft/Generic/Effects/null_bumpspec.png b/Aircraft/Generic/Effects/null_bumpspec.png index 8d65741bf..1a4650a8c 100644 Binary files a/Aircraft/Generic/Effects/null_bumpspec.png and b/Aircraft/Generic/Effects/null_bumpspec.png differ diff --git a/Docs/model-combined.eff/model-combined-bump.eff b/Docs/model-combined.eff/model-combined-bump.eff index 65f199955..af989740e 100644 --- a/Docs/model-combined.eff/model-combined-bump.eff +++ b/Docs/model-combined.eff/model-combined-bump.eff @@ -77,7 +77,7 @@ 7 - + @@ -91,6 +91,21 @@ + + + + + + tangent + 6 + + + binormal + 7 + + + + diff --git a/Effects/model-combined-deferred.eff b/Effects/model-combined-deferred.eff new file mode 100644 index 000000000..db206c140 --- /dev/null +++ b/Effects/model-combined-deferred.eff @@ -0,0 +1,58 @@ + + + + Effects/model-combined-deferred + Effects/model-combined + + + + + /sim/rendering/rembrandt + + + 2.0 + + + + GL_ARB_shader_objects + GL_ARB_shading_language_100 + GL_ARB_vertex_shader + GL_ARB_fragment_shader + + + GL_EXT_gpu_shader4 + GL_ARB_texture_rg + + + + false + + + material/ambient + + + material/diffuse + + + material/specular + + + material/emissive + + + material/shininess + + ambient-and-diffuse + + + Shaders/deferred-gbuffer.vert + Shaders/deferred-gbuffer.frag + + + + \ No newline at end of file diff --git a/Effects/model-combined.eff b/Effects/model-combined.eff index efa3be3c6..ebfe63221 100644 --- a/Effects/model-combined.eff +++ b/Effects/model-combined.eff @@ -148,24 +148,27 @@ please see Docs/README.model-combined.eff for documentation 7 --> - - - - /sim/rendering/shaders/model - - - 2.0 - - - - GL_ARB_shader_objects - GL_ARB_shading_language_100 - GL_ARB_vertex_shader - GL_ARB_fragment_shader - - - - + + + + + /sim/rendering/rembrandt + + + 2.0 + + + + GL_ARB_shader_objects + GL_ARB_shading_language_100 + GL_ARB_vertex_shader + GL_ARB_fragment_shader + + + GL_EXT_gpu_shader4 + GL_ARB_texture_rg + + true @@ -368,8 +371,8 @@ please see Docs/README.model-combined.eff for documentation Shaders/ubershader.vert - Shaders/include_fog.frag - Shaders/ubershader.frag + Shaders/include_fog.frag + Shaders/ubershader.frag @@ -750,7 +751,616 @@ please see Docs/README.model-combined.eff for documentation - + + + + + + + /sim/rendering/shaders/model + + + 2.0 + + + + GL_ARB_shader_objects + GL_ARB_shading_language_100 + GL_ARB_vertex_shader + GL_ARB_fragment_shader + + + + + + true + + + material/active + + + material/ambient + + + material/diffuse + + + material/specular + + + material/emissive + + + material/shininess + + + material/color-mode + + + + + blend/active + + + blend/source + + + blend/destination + + + + shade-model + + + cull-face + + + rendering-hint + + + transparent + + + transparent + + + + render-bin/bin-number + + + render-bin/bin-name + + + + + 0 + + texture[0]/image + + + texture[0]/filter + + + texture[0]/wrap-s + + + texture[0]/wrap-t + + + texture[0]/internal-format + + + + + 1 + noise + + + + 2 + + texture[2]/image + + + texture[2]/filter + + + texture[2]/wrap-s + + + texture[2]/wrap-t + + + texture[2]/internal-format + + + + + 3 + + texture[3]/image + + + texture[3]/filter + + + texture[3]/wrap-s + + + texture[3]/wrap-t + + + texture[3]/internal-format + + + + + 4 + + texture[4]/image + + + texture[4]/filter + + + texture[4]/wrap-s + + + texture[4]/wrap-t + + + texture[4]/internal-format + + + + + 5 + + texture[5]/type + + + + + + + texture[5]/images + + + + + + 6 + + texture[6]/image + + + texture[6]/filter + + + texture[6]/wrap-s + + + texture[6]/wrap-t + + + texture[6]/internal-format + + + + + 7 + + texture[7]/image + + + texture[7]/filter + + + texture[7]/wrap-s + + + texture[7]/wrap-t + + + texture[7]/internal-format + + + + + + vertex-program-two-side + + + + + Shaders/ubershader.vert + Shaders/include_fog.frag + Shaders/ubershader.frag + + + + + BaseTex + sampler-2d + 0 + + + + ReflNoiseTex + sampler-3d + 1 + + + + NormalTex + sampler-2d + 2 + + + + LightMapTex + sampler-2d + 3 + + + + ReflMapTex + sampler-2d + 4 + + + + Environment + sampler-cube + 5 + + + + ReflFresnelTex + sampler-2d + 6 + + + + ReflRainbowTex + sampler-2d + 7 + + + + + + + + nmap_enabled + int + + normalmap-enabled + + + + + + nmap_dds + int + + normalmap-dds + + + + + nmap_tile + int + + normalmap-tiling + + + + + + + lightmap_enabled + int + + lightmap-enabled + + + + + lightmap_multi + int + + lightmap-multi + + + + + lightmap_r_factor + float + + lightmap-factor[0] + + + + + lightmap_r_color + float-vec3 + + lightmap-color[0] + + + + + lightmap_g_factor + float + + lightmap-factor[1] + + + + + lightmap_g_color + float-vec3 + + lightmap-color[1] + + + + + lightmap_b_factor + float + + lightmap-factor[2] + + + + + lightmap_b_color + float-vec3 + + lightmap-color[2] + + + + + lightmap_a_factor + float + + lightmap-factor[3] + + + + + lightmap_a_color + float-vec3 + + lightmap-color[3] + + + + + + refl_enabled + int + + reflection-enabled + + + + + refl_correction + float + + reflection-correction + + + + + + refl_map + int + + reflect-map-enabled + + + + + refl_dynamic + int + + reflection-dynamic + + + + + + refl_rainbow + float + + reflection-rainbow + + + + + + refl_fresnel + float + + reflection-fresnel + + + + + + refl_noise + float + + reflection-noise + + + + + + dirt_enabled + int + + dirt-enabled + + + + + dirt_multi + int + + dirt-multi + + + + + dirt_r_color + float-vec3 + + dirt-color[0] + + + + + dirt_r_factor + float + + dirt-factor[0] + + + + + dirt_g_color + float-vec3 + + dirt-color[1] + + + + + dirt_g_factor + float + + dirt-factor[1] + + + + + dirt_b_color + float-vec3 + + dirt-color[2] + + + + + dirt_b_factor + float + + dirt-factor[2] + + + + + + amb_correction + float + + ambient-correction + + + + + shader_qual + int + + shader-quality + + + + + hdg + float + + model-hdg + + + + + pitch + float + + model-pitch + + + + + roll + float + + model-roll + + + + + + visibility + float + + visibility + + + + avisibility + float + + avisibility + + + + hazeLayerAltitude + float + + lthickness + + + + scattering + float + + scattering + + + + terminator + float + + terminator + + + + fogType + int + + fogtype + + + + + + \ No newline at end of file diff --git a/Effects/model-default.eff b/Effects/model-default.eff index dea9819fc..2439562f4 100644 --- a/Effects/model-default.eff +++ b/Effects/model-default.eff @@ -34,7 +34,7 @@ - + /sim/rendering/shaders/skydome diff --git a/Textures/Water/water-reflection-grey.png b/Textures/Water/water-reflection-grey.png index 3f680c05d..28218f9a9 100644 Binary files a/Textures/Water/water-reflection-grey.png and b/Textures/Water/water-reflection-grey.png differ diff --git a/Textures/Water/water-reflection-inland.png b/Textures/Water/water-reflection-inland.png index b2b5da678..5578c167a 100644 Binary files a/Textures/Water/water-reflection-inland.png and b/Textures/Water/water-reflection-inland.png differ diff --git a/Textures/Water/water-reflection.png b/Textures/Water/water-reflection.png index 719668aa7..1dbfa27e7 100644 Binary files a/Textures/Water/water-reflection.png and b/Textures/Water/water-reflection.png differ