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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user