mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-23 15:49:18 -05:00
add versions to new shaders
This commit is contained in:
@ -1,3 +1,4 @@
|
|||||||
|
#version 100
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
precision mediump float;
|
precision mediump float;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
#version 100
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
precision mediump float;
|
precision mediump float;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -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,3 +1,4 @@
|
|||||||
|
#version 120
|
||||||
// Input vertex attributes
|
// Input vertex attributes
|
||||||
attribute vec3 vertexPosition;
|
attribute vec3 vertexPosition;
|
||||||
attribute vec3 vertexNormal;
|
attribute vec3 vertexNormal;
|
||||||
|
|||||||
Reference in New Issue
Block a user