Skip to content

Commit df200b9

Browse files
committed
add versions to new shaders
1 parent cb05945 commit df200b9

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

examples/models/resources/shaders/glsl100/voxel_lighting.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#version 100
12
#ifdef GL_ES
23
precision mediump float;
34
#endif

examples/models/resources/shaders/glsl100/voxel_lighting.vs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#version 100
12
#ifdef GL_ES
23
precision mediump float;
34
#endif

examples/models/resources/shaders/glsl120/voxel_lighting.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#version 120
12
// Input from vertex shader
23
varying vec3 fragPosition;
34
varying vec4 fragColor;

examples/models/resources/shaders/glsl120/voxel_lighting.vs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#version 120
12
// Input vertex attributes
23
attribute vec3 vertexPosition;
34
attribute vec3 vertexNormal;

0 commit comments

Comments
 (0)