1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-26 19:37:40 +00:00

3d:: fog in non-native models

This commit is contained in:
Zeno Rogue
2019-03-20 21:16:46 +01:00
parent b62155b551
commit ad4ecbde0e
2 changed files with 2 additions and 1 deletions

View File

@@ -587,6 +587,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);",
1, "}"),
stringbuilder(