Browse Source

add versions to new shaders

pull/5125/head
Johnny Cena 1 month ago
parent
commit
df200b942c
4 changed files with 4 additions and 0 deletions
  1. +1
    -0
      examples/models/resources/shaders/glsl100/voxel_lighting.fs
  2. +1
    -0
      examples/models/resources/shaders/glsl100/voxel_lighting.vs
  3. +1
    -0
      examples/models/resources/shaders/glsl120/voxel_lighting.fs
  4. +1
    -0
      examples/models/resources/shaders/glsl120/voxel_lighting.vs

+ 1
- 0
examples/models/resources/shaders/glsl100/voxel_lighting.fs View File

@ -1,3 +1,4 @@
#version 100
#ifdef GL_ES #ifdef GL_ES
precision mediump float; precision mediump float;
#endif #endif

+ 1
- 0
examples/models/resources/shaders/glsl100/voxel_lighting.vs View File

@ -1,3 +1,4 @@
#version 100
#ifdef GL_ES #ifdef GL_ES
precision mediump float; precision mediump float;
#endif #endif

+ 1
- 0
examples/models/resources/shaders/glsl120/voxel_lighting.fs View File

@ -1,3 +1,4 @@
#version 120
// Input from vertex shader // Input from vertex shader
varying vec3 fragPosition; varying vec3 fragPosition;
varying vec4 fragColor; varying vec4 fragColor;

+ 1
- 0
examples/models/resources/shaders/glsl120/voxel_lighting.vs View File

@ -1,3 +1,4 @@
#version 120
// Input vertex attributes // Input vertex attributes
attribute vec3 vertexPosition; attribute vec3 vertexPosition;
attribute vec3 vertexNormal; attribute vec3 vertexNormal;

Loading…
Cancel
Save