-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
solve issue #1780 (built-in matdefs/shaders lack core-profile support) (
#1781) * jme3-terrain: add GLSLCompat.glsllib to 4 jme3-terrain frag shaders * jme3-terrain: add GLSLCompat.glsllib to 4 jme3-terrain vertex shaders * jme3-terrain: add GLSL150 to 3 jme3-terrain material definitions * jme3-vr: add GLSLCompat.glsllib to 5 shaders * jme3-niftygui: add GLSLCompat.glsllib to 6 shaders * jme3-niftygui: add GLSL150 to 3 material definitions
- Loading branch information
1 parent
b052622
commit 28bf1c9
Showing
25 changed files
with
39 additions
and
20 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
jme3-niftygui/src/main/resources/Common/MatDefs/Nifty/NiftyQuad.frag
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,3 +1,4 @@ | ||
#import "Common/ShaderLib/GLSLCompat.glsllib" | ||
uniform vec4 m_Color; | ||
|
||
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
1 change: 1 addition & 0 deletions
1
jme3-niftygui/src/main/resources/Common/MatDefs/Nifty/NiftyQuad.vert
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
1 change: 1 addition & 0 deletions
1
jme3-niftygui/src/main/resources/Common/MatDefs/Nifty/NiftyQuadGrad.frag
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,3 +1,4 @@ | ||
#import "Common/ShaderLib/GLSLCompat.glsllib" | ||
varying vec4 color; | ||
|
||
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
1 change: 1 addition & 0 deletions
1
jme3-niftygui/src/main/resources/Common/MatDefs/Nifty/NiftyQuadGrad.vert
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
1 change: 1 addition & 0 deletions
1
jme3-niftygui/src/main/resources/Common/MatDefs/Nifty/NiftyTex.frag
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,3 +1,4 @@ | ||
#import "Common/ShaderLib/GLSLCompat.glsllib" | ||
uniform sampler2D m_Texture; | ||
uniform vec4 m_Color; | ||
|
||
|
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
1 change: 1 addition & 0 deletions
1
jme3-niftygui/src/main/resources/Common/MatDefs/Nifty/NiftyTex.vert
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
1 change: 1 addition & 0 deletions
1
jme3-terrain/src/main/resources/Common/MatDefs/Terrain/HeightBasedTerrain.frag
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
1 change: 1 addition & 0 deletions
1
jme3-terrain/src/main/resources/Common/MatDefs/Terrain/HeightBasedTerrain.vert
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
1 change: 1 addition & 0 deletions
1
jme3-terrain/src/main/resources/Common/MatDefs/Terrain/SPTerrainLighting.frag
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
1 change: 1 addition & 0 deletions
1
jme3-terrain/src/main/resources/Common/MatDefs/Terrain/SPTerrainLighting.vert
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
1 change: 1 addition & 0 deletions
1
jme3-terrain/src/main/resources/Common/MatDefs/Terrain/Terrain.frag
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
1 change: 1 addition & 0 deletions
1
jme3-terrain/src/main/resources/Common/MatDefs/Terrain/Terrain.vert
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
1 change: 1 addition & 0 deletions
1
jme3-terrain/src/main/resources/Common/MatDefs/Terrain/TerrainLighting.frag
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
1 change: 1 addition & 0 deletions
1
jme3-terrain/src/main/resources/Common/MatDefs/Terrain/TerrainLighting.vert
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,3 +1,4 @@ | ||
#import "Common/ShaderLib/GLSLCompat.glsllib" | ||
uniform sampler2D m_Texture; | ||
|
||
varying vec2 UVred; | ||
|
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,3 +1,4 @@ | ||
#import "Common/ShaderLib/GLSLCompat.glsllib" | ||
uniform sampler2D m_Texture; | ||
|
||
in vec2 UVred; | ||
|
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,3 +1,4 @@ | ||
#import "Common/ShaderLib/GLSLCompat.glsllib" | ||
in vec4 inPosition; | ||
|
||
in vec2 inTexCoord; // m_inUVred | ||
|
1 change: 1 addition & 0 deletions
1
jme3-vr/src/main/resources/Common/MatDefs/VR/PostShadowFilter.frag
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