Commit 475bdc598c4e6babadb5283e14daafbb57792828
1 parent
a6f025b3
(Particles) Some targets do not anything, inluding comments before the version line
Change-Id: I60f22d57b1369524f3c2d061269ede3514ed3805
Showing
4 changed files
with
4 additions
and
8 deletions
examples/particles/shaders/particle-view-simple.frag
examples/particles/shaders/particle-view-simple.vert
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 | ... | ... |