add versions to new shaders

This commit is contained in:
Johnny Cena
2025-08-20 12:16:57 +02:00
parent cb05945e76
commit df200b942c
4 changed files with 4 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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