refactor res/shaders
This commit is contained in:
@@ -4,6 +4,6 @@ out vec4 f_color;
|
||||
uniform samplerCube u_cubemap;
|
||||
|
||||
void main(){
|
||||
vec3 dir = normalize(v_coord);
|
||||
f_color = texture(u_cubemap, dir);
|
||||
vec3 dir = normalize(v_coord);
|
||||
f_color = texture(u_cubemap, dir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user