mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 23:13:09 +00:00
Pylon rendering
This commit is contained in:
1 parent
2e0d8ed8a5
commit
678fd193da
2 files changed
+5
-30
No files matched your search
@@ -13,7 +13,7 @@ void main() {
|
||||
color += texture2D(bgl_RenderedTexture, texcoord + vec2(j, i));
|
||||
|
||||
float brightness = sin(time / 20.0) * 0.5 + 0.15;
|
||||
float alpha = sin(time / 30.0) * 0.5 + 0.35;
|
||||
float alpha = min(1, sin(time / 30.0) * 0.5 + 0.75);
|
||||
|
||||
gl_FragColor = vec4((color * color * 0.0005 * brightness + texture2D(bgl_RenderedTexture, texcoord)).rgb, alpha * gl_Color.a);
|
||||
}
|
||||
Reference in new issue
Block a user