mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
improve shading & enable disabled elements
This commit is contained in:
parent
c1608fe8e2
commit
657b4304b4
9 changed files with 70 additions and 45 deletions
|
|
@ -7,7 +7,7 @@ uniform samplerCube u_cubemap;
|
|||
|
||||
void main(){
|
||||
vec3 dir = normalize(v_coord);
|
||||
f_position = vec4(0.0, 0.0, 0.0, 1e9);
|
||||
f_position = vec4(0.0, 0.0, 0.0, 0.0);
|
||||
f_normal = vec4(0.0);
|
||||
f_color = texture(u_cubemap, dir);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue