mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 17:59:56 +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
|
||||
pass clear
|
||||
{
|
||||
clear
|
||||
{
|
||||
// make sure to set this to the viewport background color from outside
|
||||
colour_value 0 0 0 1
|
||||
}
|
||||
}
|
||||
pass render_scene
|
||||
{
|
||||
// Renders everything except water
|
||||
|
@ -55,10 +58,13 @@ compositor gbufferFinalizer
|
|||
input none
|
||||
shadows off
|
||||
pass clear
|
||||
{
|
||||
clear
|
||||
{
|
||||
buffers colour
|
||||
colour_value 0 0 0 0
|
||||
}
|
||||
}
|
||||
pass render_quad
|
||||
{
|
||||
material RenderSceneNoDepth
|
||||
|
@ -75,6 +81,9 @@ compositor gbufferFinalizer
|
|||
input none
|
||||
pass clear
|
||||
{
|
||||
clear
|
||||
{
|
||||
}
|
||||
}
|
||||
pass render_quad
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue