Sha256: 12cbac342e23bda72958e0c2884def6d7aeb305168d43c82b8a792284f82e7a2

Contents?: true

Size: 241 Bytes

Versions: 3

Compression:

Stored size: 241 Bytes

Contents

#version 330 core
layout (location = 0) in vec3 aPos;

uniform vec3 colour;
out vec4 ourColour;

uniform mat4 camera;
uniform mat4 model;

void main()
{
    gl_Position = camera * model * vec4(aPos, 1.0);
    ourColour = vec4(colour, 1.0);
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_rpg-0.0.4 lib/engine/shaders/colour_vertex.glsl
ruby_rpg-0.0.3 lib/engine/shaders/colour_vertex.glsl
ruby_rpg-0.0.2 lib/engine/shaders/colour_vertex.glsl