You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
140 lines
2.8 KiB
Plaintext
140 lines
2.8 KiB
Plaintext
//
|
|
// This file is part of Caelum.
|
|
// See http://www.ogre3d.org/wiki/index.php/Caelum
|
|
//
|
|
// Copyright (c) 2008 Caelum team. See Contributors.txt for details.
|
|
//
|
|
// Caelum is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU Lesser General Public License as published
|
|
// by the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// Caelum is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU Lesser General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
// along with Caelum. If not, see <http://www.gnu.org/licenses/>.
|
|
//
|
|
|
|
compositor Caelum/DepthComposer_DebugDepthRender
|
|
{
|
|
technique
|
|
{
|
|
texture rt0 target_width target_height PF_A8R8G8B8
|
|
|
|
target rt0
|
|
{
|
|
input previous
|
|
}
|
|
|
|
target_output
|
|
{
|
|
input none
|
|
|
|
pass render_quad
|
|
{
|
|
material Caelum/DepthComposer_DebugDepthRender
|
|
input 0 rt0
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
compositor Caelum/DepthComposer_Dummy
|
|
{
|
|
technique
|
|
{
|
|
texture rt0 target_width target_height PF_A8R8G8B8
|
|
|
|
target rt0
|
|
{
|
|
input previous
|
|
}
|
|
|
|
target_output
|
|
{
|
|
input none
|
|
|
|
pass render_quad
|
|
{
|
|
material Caelum/DepthComposer_Dummy
|
|
input 0 rt0
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
compositor Caelum/DepthComposer_ExpGroundFog
|
|
{
|
|
technique
|
|
{
|
|
texture rt0 target_width target_height PF_A8R8G8B8
|
|
|
|
target rt0
|
|
{
|
|
input previous
|
|
}
|
|
|
|
target_output
|
|
{
|
|
input none
|
|
|
|
pass render_quad
|
|
{
|
|
material Caelum/DepthComposer_ExpGroundFog
|
|
input 0 rt0
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
compositor Caelum/DepthComposer_SkyDomeHaze
|
|
{
|
|
technique
|
|
{
|
|
texture rt0 target_width target_height PF_A8R8G8B8
|
|
|
|
target rt0
|
|
{
|
|
input previous
|
|
}
|
|
|
|
target_output
|
|
{
|
|
input none
|
|
|
|
pass render_quad
|
|
{
|
|
material Caelum/DepthComposer_SkyDomeHaze
|
|
input 0 rt0
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
compositor Caelum/DepthComposer_SkyDomeHaze_ExpGroundFog
|
|
{
|
|
technique
|
|
{
|
|
texture rt0 target_width target_height PF_A8R8G8B8
|
|
|
|
target rt0
|
|
{
|
|
input previous
|
|
}
|
|
|
|
target_output
|
|
{
|
|
input none
|
|
|
|
pass render_quad
|
|
{
|
|
material Caelum/DepthComposer_SkyDomeHaze_ExpGroundFog
|
|
input 0 rt0
|
|
}
|
|
}
|
|
}
|
|
}
|