Commit Graph

4 Commits

Author SHA1 Message Date
d3bc7ecc7f Moved from push constants to uniforms
This move also fixed display issues on Vulkan since the matrix's data
alignement was not properly handled
2022-08-21 20:35:02 +02:00
1e9fb49a49 Got the matrix system working
Surface size is hardcoded for now
2022-08-20 16:35:32 +02:00
1081051084 Got model matrix to work
For now the matrix is sent as a push constant but since WebGL doesn't
support them and will likely never support them big enough for a matrix,
they will in the future be sent in a uniform buffer
2022-08-20 14:43:29 +02:00
79b86afc2a Got texture to display on quad
+ implemented Texture
* tweaked Application API
! some work need on Texture API to mask Rc<RefCell>>
2022-07-15 11:59:52 +02:00