Search found 65 matches

by kicknbritt
Wed Jul 08, 2020 3:34 am
Forum: Support and Development
Topic: How to pack 3 numbers into an int and then do the reverse
Replies: 2
Views: 742

Re: How to pack 3 numbers into an int and then do the reverse

Hey thanks dude this looks like exactly what I need.
I just needed something I could easily put in the shader as well as lua and this was spot on.
😊
by kicknbritt
Tue Jul 07, 2020 4:20 pm
Forum: Support and Development
Topic: How to pack 3 numbers into an int and then do the reverse
Replies: 2
Views: 742

How to pack 3 numbers into an int and then do the reverse

Hello. I am instancing a bunch of cube faces in a shader, and I am using imagedata to store the per instance values in 3 different floats using the "rg11b10f" Image format. I would like to pass as little data to the shader as possible and also keep it light for mobile devices, so I am storing the da...
by kicknbritt
Sun Apr 19, 2020 12:54 am
Forum: Support and Development
Topic: Mesh Instancing Inside a 3d Shader
Replies: 3
Views: 874

Re: Mesh Instancing Inside a 3d Shader

Dude! You are a life saver thank you! Also much appreciated on all the code descriptions and notes. Very helpful. I will be working through all this today thanks a bunch!
by kicknbritt
Thu Apr 16, 2020 11:18 pm
Forum: Support and Development
Topic: Mesh Instancing Inside a 3d Shader
Replies: 3
Views: 874

Mesh Instancing Inside a 3d Shader

Hello Guys. So I am still working on a minecraft engine and I am still having crazy memory issues. There is for sure a memory leak in love.graphics.newMesh. I don't really know who to talk to about that so I am going to switch to using instancing to just render the block faces. Does anyone know how ...
by kicknbritt
Sun Apr 05, 2020 9:27 pm
Forum: Support and Development
Topic: need help with a shader error!
Replies: 2
Views: 727

Re: need help with a shader error!

Ah yep that was it. I was just reading how glsl needs everything to be floats too. Thanks.
by kicknbritt
Sun Apr 05, 2020 10:15 am
Forum: Support and Development
Topic: need help with a shader error!
Replies: 2
Views: 727

need help with a shader error!

Hey guys I am working on putting a blocky rendering engine I was working on a while ago on android. I am using the SS3D library. I previously was working on windows 10 64 bit. When I loaded the game into the love2d android app I get this error Error Error validating pixel shader code: Line 37: ERROR...
by kicknbritt
Sat Dec 07, 2019 6:56 am
Forum: Support and Development
Topic: love.graphics.newCubeimage
Replies: 2
Views: 1723

Re: love.graphics.newCubeimage

Hello. I have no idea what the use of a cube image is, but I do know that you need a shader to render it:
(See here https://love2d.org/wiki/love.graphics.newCubeImage)
And Im pretty sure that it is used for 3d textures somehow, not in the 2d way you are trying to use it.
by kicknbritt
Tue Nov 19, 2019 3:05 am
Forum: Support and Development
Topic: Help Modifying a shader to work on Love 11.2
Replies: 2
Views: 1946

Re: Help Modifying a shader to work on Love 11.2

Omg! Ty so much! And yes I am planning to integrate loves new features for 3d, I just wanted to figure out how skeletal animation works first.
Thanks dude
by kicknbritt
Mon Nov 18, 2019 10:39 pm
Forum: Support and Development
Topic: Help Modifying a shader to work on Love 11.2
Replies: 2
Views: 1946

Help Modifying a shader to work on Love 11.2

Hey guys. So I have been trying to get 3d skeletal animation working for my game for the last week, with no avail. I trying to use the same technique for skeletal animation used here https://github.com/excessive/love3d-demos/blob/master/src/skeletal-animation.lua but when I try to render the model i...
by kicknbritt
Sun Nov 10, 2019 6:43 pm
Forum: Support and Development
Topic: Can we store 3d vertices in GPU memory?
Replies: 7
Views: 2298

Re: Can we store 3d vertices in GPU memory?

Oh rip. Well thanks anyway
[Edit] Actually it looks like it supports textures. Ill check it out