Verified Commit 41227dd6 authored by insert's avatar insert

Yes.

parent 77131c7b
use shader_generator::{ ShaderOptions, generate_vertex_shader, generate_fragment_shader };
fn main() {
println!("{}", generate_fragment_shader(ShaderOptions::new()));
println!("{}", generate_vertex_shader(ShaderOptions::new()));
}
......@@ -10,8 +10,8 @@ out vec3 fPos;
out vec3 fNormal;
{% if diffuse == "Colour" %}
layout (location = 1) in vec4 vColour;
out vec4 fColour;
layout (location = 1) in vec4 vColor;
out vec4 fColor;
{% else %}
layout (location = 1) in vec2 vUV;
out vec2 fUV;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment