mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
LightingShader: hard code const variable
This commit is contained in:
@ -28,11 +28,18 @@ struct VertexShaderConstants
|
||||
float4 posnormalmatrix[6];
|
||||
float4 projection[4];
|
||||
int4 materials[4];
|
||||
int4 light_colors[8]; // 8 lights
|
||||
float4 lights[32]; // 8 lights * 4 parameters
|
||||
struct Light
|
||||
{
|
||||
int4 color;
|
||||
float4 cosatt;
|
||||
float4 distatt;
|
||||
float4 pos;
|
||||
float4 dir;
|
||||
} lights [8];
|
||||
float4 texmatrices[24];
|
||||
float4 transformmatrices[64];
|
||||
float4 normalmatrices[32];
|
||||
float4 posttransformmatrices[64];
|
||||
float4 depthparams;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user