Ce site fonctionne mieux avec JavaScript.
Accueil
Aide
Connexion
lolengine
/
lol
miroir de
https://github.com/lolengine/lol
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Versions
0
Wiki
Activité
Parcourir la source
easymesh: allow the shader to build on GL ES.
legacy
Sam Hocevar
sam
il y a 13 ans
Parent
44180ce402
révision
a36e930a87
1 fichiers modifiés
avec
11 ajouts
et
1 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+11
-1
src/easymesh/shiny.lolfx
+ 11
- 1
src/easymesh/shiny.lolfx
Voir le fichier
@@ -1,6 +1,10 @@
-- GLSL.Vert --
#if defined GL_ES
#version 100
#else
#version 120
#endif
attribute vec3 in_Vertex;
attribute vec3 in_Normal;
@@ -49,9 +53,15 @@ void main(void)
}
-- GLSL.Frag --
#if defined GL_ES
#version 100
#else
#version 120
#endif
//precision highp float;
#if defined GL_ES
precision highp float;
#endif
varying vec4 pass_Color;
void main(void) {
Écrire
Aperçu
Chargement…
Annuler
Enregistrer