mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 21:05:50 +12:00
[GPU] Implement initial support for multi-texturing
This commit is contained in:
parent
170fe9a4b2
commit
9b1ed2084f
3 changed files with 72 additions and 19 deletions
|
@ -2,6 +2,7 @@
|
|||
#include <array>
|
||||
#include <span>
|
||||
|
||||
#include "PICA/float_types.hpp"
|
||||
#include "helpers.hpp"
|
||||
#include "logger.hpp"
|
||||
#include "opengl.hpp"
|
||||
|
@ -14,7 +15,11 @@ class GPU;
|
|||
struct Vertex {
|
||||
OpenGL::vec4 position;
|
||||
OpenGL::vec4 colour;
|
||||
OpenGL::vec2 UVs;
|
||||
OpenGL::vec2 texcoord0;
|
||||
OpenGL::vec2 texcoord1;
|
||||
Floats::f24 texcoord0_w;
|
||||
u32 padding; // pad so that texcoord2 is 64-bit aligned
|
||||
OpenGL::vec2 texcoord2;
|
||||
};
|
||||
|
||||
class Renderer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue