Sha256: 689d27f230aa3dabb20e769ba4461b963db5c9de8b81b6ceba80e39700484326

Contents?: true

Size: 291 Bytes

Versions: 4

Compression:

Stored size: 291 Bytes

Contents

#version 330 core

// <vec3 position, vec2 texCoords>
layout (location = 0) in vec3 vertex;
layout (location = 1) in vec2 texCoord;

out vec2 TexCoords;

uniform mat4 camera;
uniform mat4 model;

void main()
{
    TexCoords = texCoord;
    gl_Position = camera * model * vec4(vertex, 1.0);
}

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
ruby_rpg-0.0.3 lib/engine/shaders/sprite_vertex.glsl
ruby_rpg-0.0.3 lib/engine/shaders/ui_sprite_vertex.glsl
ruby_rpg-0.0.2 lib/engine/shaders/sprite_vertex.glsl
ruby_rpg-0.0.2 lib/engine/shaders/ui_sprite_vertex.glsl