-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Examples] Minor update in EampleBase and PBR example.
- Added report output to ExampleBase to log failure reason when render system could not be loaded. - Lowered GLSL version in PBR example from 450 to 410 to make it work on Mac.
- Loading branch information
1 parent
d871410
commit 5887e46
Showing
6 changed files
with
10 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// PBR GLSL Mesh Fragment Shader | ||
|
||
#version 450 core | ||
#version 410 core | ||
|
||
#define M_PI 3.141592654 | ||
|
||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// PBR GLSL Mesh Vertex Shader | ||
|
||
#version 450 core | ||
#version 410 core | ||
|
||
uniform Settings | ||
{ | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// PBR GLSL Skybox Fragment Shader | ||
|
||
#version 450 core | ||
#version 410 core | ||
|
||
uniform Settings | ||
{ | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// PBR GLSL Skybox Vertex Shader | ||
|
||
#version 450 core | ||
#version 410 core | ||
|
||
uniform Settings | ||
{ | ||
|
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