mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-26 00:41:35 +00:00
changed compositor to be compatible with Ogre 1.8RC
This commit is contained in:
parent
0b2dab0b5d
commit
aa8208efb9
1 changed files with 13 additions and 4 deletions
|
@ -10,10 +10,13 @@ compositor gbuffer
|
||||||
{
|
{
|
||||||
input none
|
input none
|
||||||
pass clear
|
pass clear
|
||||||
|
{
|
||||||
|
clear
|
||||||
{
|
{
|
||||||
// make sure to set this to the viewport background color from outside
|
// make sure to set this to the viewport background color from outside
|
||||||
colour_value 0 0 0 1
|
colour_value 0 0 0 1
|
||||||
}
|
}
|
||||||
|
}
|
||||||
pass render_scene
|
pass render_scene
|
||||||
{
|
{
|
||||||
// Renders everything except water
|
// Renders everything except water
|
||||||
|
@ -55,10 +58,13 @@ compositor gbufferFinalizer
|
||||||
input none
|
input none
|
||||||
shadows off
|
shadows off
|
||||||
pass clear
|
pass clear
|
||||||
|
{
|
||||||
|
clear
|
||||||
{
|
{
|
||||||
buffers colour
|
buffers colour
|
||||||
colour_value 0 0 0 0
|
colour_value 0 0 0 0
|
||||||
}
|
}
|
||||||
|
}
|
||||||
pass render_quad
|
pass render_quad
|
||||||
{
|
{
|
||||||
material RenderSceneNoDepth
|
material RenderSceneNoDepth
|
||||||
|
@ -75,6 +81,9 @@ compositor gbufferFinalizer
|
||||||
input none
|
input none
|
||||||
pass clear
|
pass clear
|
||||||
{
|
{
|
||||||
|
clear
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
pass render_quad
|
pass render_quad
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue