Intel GPU/OpenGL 2.x planet normals fix
This commit is contained in:
13
core/assets/shaders/unlitwhite.vert
Executable file
13
core/assets/shaders/unlitwhite.vert
Executable file
@@ -0,0 +1,13 @@
|
||||
attribute vec4 a_position;
|
||||
attribute vec3 a_normal;
|
||||
|
||||
uniform mat4 u_proj;
|
||||
uniform mat4 u_trans;
|
||||
uniform vec4 u_color;
|
||||
|
||||
varying vec4 v_col;
|
||||
|
||||
void main(){
|
||||
v_col = vec4(1.0);
|
||||
gl_Position = u_proj * u_trans * a_position;
|
||||
}
|
||||
Reference in New Issue
Block a user