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

ShadowOmniMap.blsl failing with vulkan #355

Open
pgruenbacher opened this issue Jul 1, 2019 · 2 comments
Open

ShadowOmniMap.blsl failing with vulkan #355

pgruenbacher opened this issue Jul 1, 2019 · 2 comments
Labels
type: bug Something isn't working
Milestone

Comments

@pgruenbacher
Copy link
Contributor

So I was trying to test https://github.com/pgruenbacher/bsf/blob/2c05c8dc0334904cde7e5fe3cd58cb9799001185/Source/Plugins/bsfECSRenderer/BsRendererECS_test.cpp#L244

but with vulkan render api.

However I get an error saying that "gShadowCubeTex" is not found. Cannot find texture parameter with the name: 'gShadowCubeTex' by GpuParams.

When I try to build the assets manually I notice that most shaders are passing except for the ShadowProjectOmni.blsl shader which is the only shader using TextureCube with SampleCmp and SamplerCubeState.

@pgruenbacher
Copy link
Contributor Author

bsfExamples does work with master bsf and vulkan api on the demos that I tested. Idk if any of the current examples have shadows in them. The test was failing with RenderBeast and

@pgruenbacher
Copy link
Contributor Author

shader compilation failing at

occlusion = gShadowCubeTex.SampleCmp(gShadowCubeSampler, lightDir, receiverDepth - shadowBias);

@BearishSun BearishSun added the type: bug Something isn't working label Jul 2, 2019
@BearishSun BearishSun added this to the v1.2 milestone Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants