This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifdef GL_ES | |
precision mediump float; | |
#endif | |
// Текстура сцени для який будемо робити хроматичну аберацію | |
uniform sampler2D u_texture_0; | |
// Атрібути UV-координат текстури | |
varying vec2 v_texcoord; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifdef GL_ES | |
precision mediump float; | |
#endif | |
// Розмір екрану | |
uniform vec2 u_resolution; | |
// Значення часу | |
uniform float u_time; | |
// Текстура котика | |
uniform sampler2D u_texture_1; |
OlderNewer