27 lines
521 B
Plaintext
27 lines
521 B
Plaintext
|
compositor CameraLensFlare/Default
|
||
|
{
|
||
|
technique
|
||
|
{
|
||
|
// Temporary textures
|
||
|
texture rt0 target_width target_height PF_A8R8G8B8
|
||
|
|
||
|
target rt0
|
||
|
{
|
||
|
// Render output from previous compositor (or original scene)
|
||
|
input previous
|
||
|
}
|
||
|
target_output
|
||
|
{
|
||
|
// Start with clear output
|
||
|
input none
|
||
|
// Draw a fullscreen quad
|
||
|
pass render_quad
|
||
|
{
|
||
|
// Renders a fullscreen quad with a material
|
||
|
material Gazebo/CameraLensFlare
|
||
|
input 0 rt0
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|