Ignore:
Timestamp:
Aug 1, 2012, 1:50:51 PM (7 years ago)
Author:
sam
Message:

easymesh: allow the shader to build on GL ES.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/easymesh/shiny.lolfx

    r1615 r1687  
    11
    22-- GLSL.Vert --
     3#if defined GL_ES
     4#version 100
     5#else
    36#version 120
     7#endif
    48
    59attribute vec3 in_Vertex;
     
    5054
    5155-- GLSL.Frag --
     56#if defined GL_ES
     57#version 100
     58#else
    5259#version 120
     60#endif
    5361
    54 //precision highp float;
     62#if defined GL_ES
     63precision highp float;
     64#endif
    5565varying vec4 pass_Color;
    5666
Note: See TracChangeset for help on using the changeset viewer.