//These are still in infancy, perhaps the time could be used as a variable to change it, useful for if the player character is intoxicated. vec4 sineTransform = texture(tex, vec2(sin(tex_coord.x) * 0.5, sin(tex_coord.y) * 0.5)); vec4 asinTransform = texture(tex, vec2(asin(tex_coord.x) * 0.5, asin(tex_coord.y) * 0.5)); vec4 atanTransform = texture(tex, vec2(atan(tex_coord.x) * 0.5, atan(tex_coord.y) * 0.5)); //Note that these are not subroutines, just vec4s. This is not consistent with the rest of this library.