mirror of
https://github.com/wiiu-env/libgui.git
synced 2024-12-25 15:51:51 +01:00
Fix the Shader3D
This commit is contained in:
parent
c9ae9cf218
commit
886ae7e19b
@ -209,6 +209,8 @@ Shader3D::Shader3D()
|
|||||||
pixelShader.addSamplerVar((GX2SamplerVar) {
|
pixelShader.addSamplerVar((GX2SamplerVar) {
|
||||||
"sampl_texture", GX2_SAMPLER_VAR_TYPE_SAMPLER_2D, samplerLocation
|
"sampl_texture", GX2_SAMPLER_VAR_TYPE_SAMPLER_2D, samplerLocation
|
||||||
});
|
});
|
||||||
|
//! create vertex shader
|
||||||
|
vertexShader.setProgram(cpVertexShaderProgram, sizeof(cpVertexShaderProgram), cpVertexShaderRegs, sizeof(cpVertexShaderRegs));
|
||||||
|
|
||||||
modelMatrixLocation = 0;
|
modelMatrixLocation = 0;
|
||||||
projectionMatrixLocation = 16;
|
projectionMatrixLocation = 16;
|
||||||
|
Loading…
Reference in New Issue
Block a user