Revision 6ddda212
Added by Leszek Koltunski over 7 years ago
src/main/res/raw/main_vertex_shader.glsl | ||
---|---|---|
360 | 360 |
float d = dot( vec2(-ps.y,-ps.x),sincos ); |
361 | 361 |
float num = length==0.0 ? 0.0 : d / length; |
362 | 362 |
|
363 |
v.xy += (sin(1.57*num)*amplitude*deg*sincos); |
|
363 |
v.xy += (sin(1.578*num)*amplitude*deg*sincos);
|
|
364 | 364 |
} |
365 | 365 |
|
366 | 366 |
#endif |
Also available in: Unified diff
Adjustments for EffectQueueVertex.postprocess()