Now we have shiny stuff
This commit is contained in:
parent
e49b76fffa
commit
58488434f4
@ -140,7 +140,7 @@ PipelineHands create_graphics_pipeline_0(
|
||||
{
|
||||
.location = 1,
|
||||
.binding = 0,
|
||||
.format = VK_FORMAT_R32G32B32_SFLOAT,
|
||||
.format = VK_FORMAT_R32G32_SFLOAT,
|
||||
.offset = offsetof(GenericMeshVertex, tex),
|
||||
},
|
||||
|
||||
|
||||
@ -59,5 +59,5 @@ void main(){
|
||||
vec3 color = natural_color * diffuse_illumination + 0.5 * specular_illumination;
|
||||
fin_color = vec4(color, 1);
|
||||
// fin_color = vec4(length(norm) / 2, 0, 0, 1);
|
||||
fin_color = vec4(fsin_tex, 0, 1);
|
||||
// fin_color = vec4(fsin_tex, 0, 1);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user