pxmlw6n2f/Gazebo_Distributed_TCP/media/materials/scripts/distortion.compositor

27 lines
651 B
Plaintext
Raw Normal View History

2019-03-28 10:57:49 +08:00
compositor CameraDistortionMap/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 with noise
pass render_quad
{
// Renders a fullscreen quad with a material
material Gazebo/CameraDistortionMap
input 0 rt0
}
}
}
}