You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example, after creating the transformation matrices model, view, and proj like so, what should I do next to convert it to a numpy array(equivalent to structUniformBufferObject ) that could then be passed to GLSL layout binding?
I am trying to set up a
UniformBufferObject
per this tutorial that is supposed to be read in by GLSL via Layout binding.May I know what is the numpy equivalent of the below struct?
Example, after creating the transformation matrices
model
,view
, andproj
like so, what should I do next to convert it to a numpy array(equivalent tostruct
UniformBufferObject
) that could then be passed to GLSL layout binding?I could not relate uniform.py with this tutorial
UniformBufferObject
. Appreciate your guidance. Cheers.The text was updated successfully, but these errors were encountered: