1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-30 13:32:59 +00:00

3d:: clipping configurable

This commit is contained in:
Zeno Rogue
2019-03-21 00:25:38 +01:00
parent 715d8b2fd0
commit 2121aacaaf
5 changed files with 40 additions and 2 deletions

View File

@@ -590,7 +590,7 @@ void init() {
sh3 || sr3 || ball,"t[3] = 1.0;",
band || hp || s3 || ball,"gl_Position = uP * t;",
dim3 && !s3, "vColor.xyz = vColor.xyz * (1.0 - gl_Position.z / 2.0);",
dim3 && !s3, "vColor.xyz = vColor.xyz * (0.5 - gl_Position.z / 2.0);",
1, "}"),
stringbuilder(