Yuri Rubinsky

Results 109 comments of Yuri Rubinsky

> Can't reproduce in 4.3 beta1. Thanks, indeed its not reproducable anymore. Closed.

> I've tested the uniform struct out, it's a wildly amazing idea, but it doesn't work. Yeah, this is because that struct layout is not aligned to 16 bytes, if...

> It seems to be either writing 2 floats before the actual vec4, or reading 2 floats after the vec4 @RadiantUwU I think I've fixed it!

Also fixed the dictionary in the inspector to reflect the changes from the shader.

> How about the "Add key/value pair" button? Having this whole PR work is kind of hacky, admittedly, but there needs to be a way to hide that one. Sorry,...

> Looks fine for the most part, i'd recommend in a future pull request to implement a way for developers to have a way of setting default values. It's a...

Added support for the structs inside structs (they will be parsed as mixed Array/Dictionary hierarchy): ![изображение](https://github.com/godotengine/godot/assets/3036176/ebd2c5cb-8f18-4a04-ab55-8b54e95ea45f)

I've hardy tried to make default arguments works, but currently they work very buggy, changed arguments from a shader does not handle by UI correctly, filling UBO with zero values...

@HeeboE Try again, I think I've fixed it.

> The issue goes away if I add float three; at the end of the struct (float four; is not needed for 16-byte alignment for some reason). Stranglely enough, the...