Skip to content

Commit

Permalink
[Metal] fix depth camera vertex shader not found in selection buffer …
Browse files Browse the repository at this point in the history
…material

- This is the same issue as fixed in gazebosim#456

Signed-off-by: Rhys Mainwaring <[email protected]>
  • Loading branch information
srmainwaring committed Oct 23, 2021
1 parent b798c7a commit 288ba0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ogre2/src/media/materials/scripts/selection_buffer.material
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ vertex_program selection_buffer_vs_Metal metal
fragment_program selection_buffer_fs_Metal metal
{
source selection_buffer_fs.metal
shader_reflection_pair_hint DepthCameraVS_Metal
shader_reflection_pair_hint selection_buffer_vs_Metal
}

// Unified shaders
fragment_program selection_buffer_vs unified
vertex_program selection_buffer_vs unified
{
delegate selection_buffer_vs_GLSL
delegate selection_buffer_vs_Metal
Expand Down

0 comments on commit 288ba0b

Please sign in to comment.