Skip to content

Commit

Permalink
Accept the tyrany of The Republic
Browse files Browse the repository at this point in the history
  • Loading branch information
kanerogers committed Mar 1, 2023
1 parent a83a36f commit 893f1a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions hotham-editor/src/shaders/triangle.vert
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#version 450

layout(location = 0) in vec4 in_position;
layout(location = 1) in vec4 in_colour;
layout(location = 1) in vec4 in_color;
layout(location = 2) in vec2 in_uv;

layout(location = 0) out vec4 out_colour;
layout(location = 0) out vec4 out_color;
layout(location = 1) out vec2 out_uv;

void main() {
gl_Position = in_position;
out_colour = in_colour;
out_color = in_color;
out_uv = in_uv;
}
2 changes: 1 addition & 1 deletion hotham/src/rendering/material.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl Material {
}
}

/// Create a simple, unlit, white coloured material.
/// Create a simple, unlit, white colored material.
pub fn unlit_white() -> Material {
Material {
packed_flags_and_base_texture_id: MaterialFlags::UNLIT_WORKFLOW.bits,
Expand Down

0 comments on commit 893f1a2

Please sign in to comment.