This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
LEFTONE/core/loshader/header.shader
falsycat 84c3a02b9a [RELEASE] u22-v03
This version is submitted to U22 breau.
2020-09-14 00:00:00 +00:00

23 lines
434 B
GLSL

#version 330
#extension GL_ARB_explicit_uniform_location : enable
#define PI radians(180.)
precision mediump float;
layout(std140) uniform uniblock {
vec2 resolution;
vec2 dpi;
float aa;
mat4 proj;
mat4 cam;
vec4 pos; /* chunk x, chunk y, fract x, fract y*/
float time; /* %60sec */
} uni;
/* To make it explicit which errors happened in header or body,
adds 10000 to body's line number. */
#line 100001