error sending information to shader

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Jose_antonio_920
Prole
Posts: 8
Joined: Wed Jul 15, 2020 10:56 pm

error sending information to shader

Post 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.
Attachments
love 3d.love
code
(5.5 MiB) Downloaded 50 times
User avatar
EngineerSmith
Prole
Posts: 38
Joined: Thu Dec 02, 2021 11:38 am
Contact:

Re: error sending information to shader

Post 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
User avatar
zorg
Party member
Posts: 3446
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: error sending information to shader

Post by zorg »

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
Me and my stuff :3True 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.
User avatar
pgimeno
Party member
Posts: 3581
Joined: Sun Oct 18, 2015 2:58 pm

Re: error sending information to shader

Post by pgimeno »

I don't think you can delete posts unless you are a mod.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], togFox, zingo and 5 guests