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

shaders wont compile correctly #3

Open
66flags opened this issue Jun 30, 2022 · 1 comment
Open

shaders wont compile correctly #3

66flags opened this issue Jun 30, 2022 · 1 comment

Comments

@66flags
Copy link

66flags commented Jun 30, 2022

hello, i've implemented this into my project and tried compiling after including the shaders into my project.
"blur.hlsli" failed to compile (code: X3525, message: cannot map loop to shader target, target does not support breaks)

any solutions?

@T0b1-iOS
Copy link
Owner

T0b1-iOS commented Jun 30, 2022

Did you set the proper shader model in the settings? They need to be shader model 3 and vs/ps should be set and for the blur shaders optimizations need to always be enabled.
You can check the original solution for the proper hlsl settings

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

No branches or pull requests

2 participants