Sha256: 04f20a1d922fe6a3b6b51c650a36abb4d7377233ac7eeb2d24e8f5bf67acb300
Contents?: true
Size: 262 Bytes
Versions: 3
Compression:
Stored size: 262 Bytes
Contents
#version 330 core in vec3 FragPos; out vec4 color; void main() { vec4 ground = vec4(0.541176, 0.709804, 0.286275, 1); vec4 sky = vec4(0.2, 0.6, 0.8, 1); float mixFactor = clamp(FragPos.y / 2.0, 0.0, 1.0); color = mix(ground, sky, mixFactor); }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby_rpg-0.0.4 | lib/engine/shaders/skybox_frag.glsl |
ruby_rpg-0.0.3 | lib/engine/shaders/skybox_frag.glsl |
ruby_rpg-0.0.2 | lib/engine/shaders/skybox_frag.glsl |