Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plasma6 #39

Open
wants to merge 82 commits into
base: master
Choose a base branch
from
Open

Plasma6 #39

wants to merge 82 commits into from

Conversation

y4my4my4m
Copy link
Owner

@y4my4my4m y4my4my4m commented Mar 31, 2024

Must change the .frag and it's magic to .qsb compiled...

Currently stuck on an issue where

layout(std140, binding = 0) uniform Globals {
    float iTime;
};

The binding properties that are in blocks (like uniforms) dont seem to be passed down.

Qt Quick's ShaderEffect doesn't directly support binding QML properties to GLSL uniform blocks due to the nature of how uniform blocks are updated and bound in the underlying graphics API.

Uniform blocks are typically updated using Uniform Buffer Objects (UBOs) in OpenGL or Vulkan, which requires a more explicit management approach than individual uniform variables. This means you cannot directly bind a QML property to a uniform within a block using the property system of QML as you would with loose uniforms.

So I might need to use C++...or find some other way?


Edit: Got it!

@y4my4my4m y4my4my4m linked an issue Mar 31, 2024 that may be closed by this pull request
@y4my4my4m y4my4my4m changed the title [WIP] plasma6 Plasma6 Apr 3, 2024
@y4my4my4m y4my4my4m marked this pull request as ready for review April 3, 2024 18:30
y4my4my4m and others added 11 commits April 4, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plasma 6 Compatibility
3 participants