SMG
SMG
> Would it make sense to add private fields of the required size to do that? Private fields would involve adding `new` functions to each type to construct it. I'd...
The main problem is that the offsets of the Rust struct's fields won't always match the expected offsets of the WGSL types. This can also affect the expected size of...
The latest commit uses const assertions to compare the field offsets and size of each generated Rust struct with what WGSL expects. The assertions are only generated when enabling bytemuck...
Marking this as completed since the layout is validated for the required types on desktop now. I may look into potentially stricter alignments requirements for vertex inputs on the web,...
This can use the library developed for giving text previews of supported files. Some of the dependencies should be updated since libraries like ssbh_lib have recieved a number of improvements....
Half precision formats could be supported using u16 on the Rust side or optionally with the half crate.
Transparency will be in the next release for PNG and GIF.
It's also worth adding images for what happens when textures have incorrect gamma. The website should mention that SSBH Editor can check for this and link to the validation error...
The render images and graphs can be combined into a single wider image. The square aspect ratio takes up too much of the screen at the moment.
This is just with the Bricklink Studio parts library. Their color config files are missing some of the colors. Opening that file in Studio results in a lot of colors...