custommods

This commit is contained in:
samsonsin
2025-05-29 23:31:29 +02:00
parent 90b3575aea
commit 9d577eb52d
800 changed files with 19540 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#include "/lib/outline/blackOutlineOffset.glsl"
void DepthOutline(inout float z) {
float ph = 1.0 / 1080.0;
float pw = ph / aspectRatio;
for(int i = 0; i < 12; i++) {
vec2 offset = vec2(pw, ph) * blackOutlineOffsets[i];
z = min(z, texture2D(depthtex1, texCoord + offset).r);
z = min(z, texture2D(depthtex1, texCoord - offset).r);
}
}