mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 15:47:26 +00:00
* i'm going insane from screens * some wiring * screemes * holy shit adhd lock-in * incomplete * its FUCKING DONE * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * zeta * mrrrp * test fix * fix arrivals * fix misnetwork * Fix iteration outline. Fixed all headers showing if all options where hidden. Added access requirement to keycard auth mechnism. Added countdown. Fixed ninja and fugitive. Fixed AI and aghost. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Vanessa <vanessalouwagie@gmail.com>
16 lines
302 B
Plaintext
16 lines
302 B
Plaintext
uniform sampler2D uMask;
|
|
uniform highp vec4 uMaskUV;
|
|
|
|
varying highp vec2 vMaskUV;
|
|
|
|
void vertex()
|
|
{
|
|
vMaskUV = (tCoord2 - uMaskUV.xy) / (uMaskUV.zw - uMaskUV.xy);
|
|
// vMaskUV = mix(uMaskUV.xy, uMaskUV.zw, tCoord2);
|
|
}
|
|
|
|
void fragment()
|
|
{
|
|
COLOR.rgba = zTexture(UV) * texture2D(uMask, vMaskUV);
|
|
}
|