mirror of
https://github.com/open-goal/jak-project
synced 2026-08-17 05:31:46 -04:00
f0ceea8b2e
* wip, taking a break to work on asm stuff first * the goal code for sparticle * mips2c the first sparticle asm function * temp * particle processing no longer crashing * temp * working texture cache for vi1 and hud textures * sprites * cleanup 1 * temp * temp * add zstd library * temp * working * tests * include fix * uncomment * better decomp of sparticle stuff, part 1 * update references
12 lines
359 B
GLSL
12 lines
359 B
GLSL
// Debug shader for drawing things in red. Uses the same conventions as direct_basic, see there for more details
|
|
|
|
#version 330 core
|
|
|
|
layout (location = 0) in vec3 position_in;
|
|
|
|
out vec4 fragment_color;
|
|
|
|
void main() {
|
|
gl_Position = vec4((position_in.x - 0.5) * 16., -(position_in.y - 0.5) * 32, position_in.z, 1.0);
|
|
fragment_color = vec4(1.0, 0, 0, 0.7);
|
|
} |