error sending information to shader
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 8
- Joined: Wed Jul 15, 2020 10:56 pm
error sending information to shader
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.
- Attachments
-
- love 3d.love
- code
- (5.5 MiB) Downloaded 61 times
- EngineerSmith
- Prole
- Posts: 38
- Joined: Thu Dec 02, 2021 11:38 am
- Contact:
Re: error sending information to shader
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
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: error sending information to shader
Also feel free to delete your two other posts, since they are duplicates.
https://love2d.org/forums/viewtopic.php?f=4&t=92455
https://love2d.org/forums/viewtopic.php?f=4&t=92454
https://love2d.org/forums/viewtopic.php?f=4&t=92455
https://love2d.org/forums/viewtopic.php?f=4&t=92454
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: error sending information to shader
I don't think you can delete posts unless you are a mod.
Who is online
Users browsing this forum: Google [Bot] and 4 guests