Revision c25273e0
Added by Leszek Koltunski almost 6 years ago
src/main/java/org/distorted/library/effect/PostprocessEffectGlow.java | ||
---|---|---|
21 | 21 |
|
22 | 22 |
import android.opengl.GLES31; |
23 | 23 |
|
24 |
import org.distorted.library.main.Distorted; |
|
24 | 25 |
import org.distorted.library.main.DistortedEffects; |
25 | 26 |
import org.distorted.library.main.DistortedFramebuffer; |
26 | 27 |
import org.distorted.library.main.DistortedOutputSurface; |
... | ... | |
249 | 250 |
{ |
250 | 251 |
final String glowVertex = |
251 | 252 |
|
252 |
"#version 300 es \n"+
|
|
253 |
Distorted.GLSL_VERSION +
|
|
253 | 254 |
"precision lowp float; \n"+ |
254 | 255 |
"in vec2 a_Position; \n"+ |
255 | 256 |
"in vec2 a_TexCoord; \n"+ |
... | ... | |
265 | 266 |
|
266 | 267 |
final String glowFragment1 = |
267 | 268 |
|
268 |
"#version 300 es \n"+
|
|
269 |
Distorted.GLSL_VERSION +
|
|
269 | 270 |
"#define MAX_BLUR "+MAX_HALO+ "\n"+ |
270 | 271 |
"precision lowp float; \n"+ |
271 | 272 |
"in vec2 v_TexCoord; \n"+ |
... | ... | |
289 | 290 |
|
290 | 291 |
final String glowFragment2 = |
291 | 292 |
|
292 |
"#version 300 es \n"+
|
|
293 |
Distorted.GLSL_VERSION +
|
|
293 | 294 |
"#define MAX_BLUR "+MAX_HALO+ "\n"+ |
294 | 295 |
"precision lowp float; \n"+ |
295 | 296 |
"in vec2 v_TexCoord; \n"+ |
Also available in: Unified diff
Standarize GLSL version across the whole library.