Skip to content

Commit 4723cb1

Browse files
Copilotneph1
andcommitted
Refine shader templates to match JME conventions
Co-authored-by: neph1 <7988802+neph1@users.noreply.github.com>
1 parent 46f3601 commit 4723cb1

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

jme3-materialeditor/src/com/jme3/gde/materialdefinition/BasicShader.frag

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#import "Common/ShaderLib/GLSLCompat.glsllib"
2-
31
uniform vec4 m_Color;
42

53
void main(){
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
#import "Common/ShaderLib/GLSLCompat.glsllib"
1+
uniform mat4 g_WorldViewProjectionMatrix;
22

33
attribute vec3 inPosition;
44

5-
uniform mat4 g_WorldViewProjectionMatrix;
6-
75
void main(){
86
gl_Position = g_WorldViewProjectionMatrix * vec4(inPosition, 1.0);
97
}

0 commit comments

Comments
 (0)