mirror of
https://github.com/open-goal/jak-project
synced 2026-08-14 04:33:04 -04:00
e594b23469
before <img width="3840" height="2160" alt="image" src="https://github.com/user-attachments/assets/23740c18-f9f4-4049-adb4-fdcc3f6a0123" /> after <img width="3840" height="2160" alt="image" src="https://github.com/user-attachments/assets/19d0538c-5a17-4694-a368-e2b077333305" /> event mode with some new colors: <img width="3840" height="2110" alt="image" src="https://github.com/user-attachments/assets/a76f157c-b702-4e2f-943a-841964a0ebb6" /> material mode with some new colors: <img width="3840" height="2110" alt="image" src="https://github.com/user-attachments/assets/b698065d-4225-4e57-b9f5-cb176c20c94f" />
27 lines
613 B
C++
27 lines
613 B
C++
#pragma once
|
|
#include "common/versions/versions.h"
|
|
|
|
#include "game/graphics/opengl_renderer/BucketRenderer.h"
|
|
#include <game/graphics/gfx.h>
|
|
|
|
struct PatColors {
|
|
math::Vector4f pat_mode_colors[PAT_MOD_COUNT];
|
|
math::Vector4f pat_material_colors[PAT_MAT_COUNT];
|
|
math::Vector4f pat_event_colors[PAT_EVT_COUNT];
|
|
};
|
|
|
|
class CollideMeshRenderer {
|
|
public:
|
|
CollideMeshRenderer(GameVersion version);
|
|
void render(SharedRenderState* render_state, ScopedProfilerNode& prof);
|
|
~CollideMeshRenderer();
|
|
|
|
private:
|
|
void init_pat_colors(GameVersion version);
|
|
|
|
GLuint m_vao;
|
|
GLuint m_ubo;
|
|
|
|
PatColors m_colors;
|
|
};
|