Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed all xxx15.frag shaders and used GLSLCompat to have the same s…
…hader whatever version it's used for
- Loading branch information
Showing
56 changed files
with
793 additions
and
2,025 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
jme3-core/src/main/resources/Common/ShaderLib/MultiSample.glsllib
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
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
57 changes: 0 additions & 57 deletions
57
jme3-effects/src/main/resources/Common/MatDefs/Post/CartoonEdge15.frag
This file was deleted.
Oops, something went wrong.
11 changes: 7 additions & 4 deletions
11
jme3-effects/src/main/resources/Common/MatDefs/Post/Compose.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,10 +1,13 @@ | ||
uniform sampler2D m_Texture; | ||
uniform sampler2D m_CompositeTexture; | ||
#import "Common/ShaderLib/GLSLCompat.glsllib" | ||
#import "Common/ShaderLib/MultiSample.glsllib" | ||
|
||
uniform COLORTEXTURE m_Texture; | ||
uniform COLORTEXTURE m_CompositeTexture; | ||
varying vec2 texCoord; | ||
|
||
void main() { | ||
vec4 texVal = texture2D(m_Texture, texCoord); | ||
vec4 compositeVal = texture2D(m_CompositeTexture, texCoord); | ||
vec4 texVal = getColor(m_Texture, texCoord); | ||
vec4 compositeVal = getColor(m_CompositeTexture, texCoord); | ||
gl_FragColor = mix(compositeVal,texVal,texVal.a); | ||
} | ||
|
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
14 changes: 0 additions & 14 deletions
14
jme3-effects/src/main/resources/Common/MatDefs/Post/Compose15.frag
This file was deleted.
Oops, something went wrong.
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
55 changes: 0 additions & 55 deletions
55
jme3-effects/src/main/resources/Common/MatDefs/Post/CrossHatch15.frag
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.