By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,274 Members | 1,195 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,274 IT Pros & Developers. It's quick & easy.

LWJGL(OPENGL) Send float[][] to glsl

P: 1
Let's say I have this 2d array:
-1.0 -8.742278E-8 0.0 0.0
8.742278E-8 -1.0 0.0 0.0
0.0 0.0 1.0 0.0
0.0 0.0 0.0 1.0

That I want to send to vertexshader in an uniform mat4. I don't want to use JOML so I used a 2d array(float[][]) for creating transformation matrix, but I can't send it to glsl.
1 Week Ago #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 333
but I can't send it to glsl.
What errors/issues do you see?
1 Week Ago #2

Post your reply

Sign in to post your reply or Sign up for a free account.