|
|
@ -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
|
|
|
|
{
|
|
|
|
{
|
|
|
|