Commit 475bdc598c4e6babadb5283e14daafbb57792828

Authored by Adeel Kazmi
1 parent a6f025b3

(Particles) Some targets do not anything, inluding comments before the version line

Change-Id: I60f22d57b1369524f3c2d061269ede3514ed3805
examples/particles/shaders/particle-view-simple.frag
1   -// Shader for an unlit, unfogged, textured mesh.
2   -
3 1 #version 300 es
  2 +// Shader for an unlit, unfogged, textured mesh.
4 3  
5 4 precision mediump float;
6 5 uniform vec4 uColor;
... ...
examples/particles/shaders/particle-view-simple.vert
1   -// Shader for simple textured geometry.
2   -
3 1 #version 300 es
  2 +// Shader for simple textured geometry.
4 3  
5 4 precision mediump float;
6 5 uniform mat4 uMvpMatrix;//by DALi
... ...
examples/particles/shaders/particle-view.frag
  1 +#version 300 es
1 2 // Fragment shader for particles, which simulates depth of field using
2 3 // a combination of procedural texturing, alpha testing and alpha blending.
3 4  
4   -#version 300 es
5   -
6 5 precision lowp float;
7 6 uniform float uAlphaTestRefValue;
8 7 uniform vec2 uFadeRange; // near, far
... ...
examples/particles/shaders/particle-view.vert
  1 +#version 300 es
1 2 // Shader for billboarded particles, where the vertices of the particles
2 3 // are supplied as vec3 position (particle position) + vec2 sub-position.
3 4  
4   -#version 300 es
5   -
6 5 precision lowp float;
7 6 uniform mat4 uModelView; // DALi
8 7 uniform mat4 uProjection; // DALi
... ...