OpenGL lighting
This commit is contained in:
parent
5518dae1d7
commit
f7127e0878
28 changed files with 873 additions and 188 deletions
|
|
@ -7,5 +7,7 @@ layout(location = 1) out vec4 outColor;
|
|||
layout(set = 2, binding = 0) uniform samplerCube skyboxSampler;
|
||||
|
||||
void main() {
|
||||
outColor = vec4(texture(skyboxSampler, outTexCoords).rgb, 1.0);
|
||||
vec3 textureIn = texture(skyboxSampler, outTexCoords).rgb;
|
||||
vec3 adjusted =vec3(0.0,textureIn.y/200.0,textureIn.z/150.0);
|
||||
outColor = vec4(adjusted, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue