mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 20:49:12 +12:00
Improve lighting register definitions
This commit is contained in:
parent
0fc95ae8ef
commit
ed00ddc805
5 changed files with 175 additions and 6 deletions
|
@ -2,6 +2,7 @@
|
|||
#include <string>
|
||||
|
||||
#include "PICA/gpu.hpp"
|
||||
#include "PICA/pica_frag_config.hpp"
|
||||
#include "PICA/regs.hpp"
|
||||
#include "helpers.hpp"
|
||||
|
||||
|
@ -30,7 +31,7 @@ namespace PICA::ShaderGen {
|
|||
|
||||
public:
|
||||
FragmentGenerator(API api, Language language) : api(api), language(language) {}
|
||||
std::string generate(const PICARegs& regs);
|
||||
std::string generate(const PICARegs& regs, const PICA::FragmentConfig& config);
|
||||
std::string getVertexShader(const PICARegs& regs);
|
||||
|
||||
void setTarget(API api, Language language) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue