Page 1 of 1
error sending information to shader
Posted: Sun Dec 26, 2021 7:28 pm
by Jose_antonio_920
I went back to using love2d to play with my new knowledge of opengl, using shaders to make a game in 3d, but there was an error in the part of sending the value of the matrices to the shader, I had already made 3d in love2d a while ago.
Re: error sending information to shader
Posted: Sun Dec 26, 2021 7:52 pm
by EngineerSmith
The first vector of the proj matrix only has 3 values, not 4 values. It runs once you add an additional 0 into the first line of the matrix vector
Re: error sending information to shader
Posted: Tue Dec 28, 2021 1:50 am
by zorg
Re: error sending information to shader
Posted: Thu Dec 30, 2021 12:01 am
by pgimeno
I don't think you can delete posts unless you are a mod.