forked from gazebosim/gz-rendering
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't crash if directly set low level materials are used in sensors (g…
…azebosim#593) * Don't crash if directly set low level materials are used in sensors Signed-off-by: Matias N. Goldberg <[email protected]> * PointCloudPoint needs a _solid version Signed-off-by: Matias N. Goldberg <[email protected]> Co-authored-by: Ian Chen <[email protected]>
- Loading branch information
1 parent
f3c4003
commit 8bb21b4
Showing
8 changed files
with
123 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ out vec3 ptColor; | |
out gl_PerVertex | ||
{ | ||
vec4 gl_Position; | ||
float gl_PointSize; | ||
}; | ||
|
||
void main() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// GLSL shaders | ||
fragment_program plaincolor_fs_GLSL glsl | ||
{ | ||
source plain_color_fs.glsl | ||
|
||
default_params | ||
{ | ||
param_named inColor float4 1 1 1 1 | ||
} | ||
} | ||
|
||
// Metal shaders | ||
fragment_program plaincolor_fs_Metal metal | ||
{ | ||
source plain_color_fs.metal | ||
shader_reflection_pair_hint plaincolor_vs_Metal | ||
} | ||
|
||
// Unified shaders | ||
fragment_program plaincolor_fs unified | ||
{ | ||
delegate plaincolor_fs_GLSL | ||
delegate plaincolor_fs_Metal | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters