Skip to content

Commit

Permalink
Improve Ogre2GpuRays performance (gazebosim#955)
Browse files Browse the repository at this point in the history
* improve ogre2 gpu rays perf

---------

Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 authored Jan 17, 2024
1 parent eeaf6e8 commit c62f6e9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ogre2/src/media/materials/scripts/GpuRays.compositor
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 33,12 @@ compositor_node GpuRays1stPass
// kLaserRetroMainDepthPassId
identifier 9525

// IGN_VISIBILITY_ALL & ~Ogre2ParticleEmitter::kParticleVisibilityFlags
// GZ_VISIBILITY_ALL & ~Ogre2ParticleEmitter::kParticleVisibilityFlags
visibility_mask 0xFEFFFFF

enable_forwardplus no
light_visibility_mask 0x0

profiling_id "GpuRays1stPass Color"
}
}
Expand All @@ -53,6 56,9 @@ compositor_node GpuRays1stPass
// Ogre2ParticleEmitter::kParticleVisibilityFlags
visibility_mask 0x00100000

enable_forwardplus no
light_visibility_mask 0x0

profiling_id "GpuRays1stPass Particle"
}
}
Expand Down

0 comments on commit c62f6e9

Please sign in to comment.