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

SAMPLE_TEXTURE2D_ARRAY_SHADOW cannot map expression to ps_4_0 instruction on DX12 #1

Open
bladesero opened this issue Dec 10, 2019 · 4 comments

Comments

@bladesero
Copy link

image
Another problem is why the editor is blurred?There don't have a post pocessing gameobject.
My enviroment is Windows10,gtx1650.
image

@GuardHei
Copy link
Owner

Interesting. I'll check the first problem, never met it before.

For the blur problem, go to SRPAsset's inspector -> Dither Transparent Params -> Untick "Blur On" option. This gaussian blur effect is originally implemented to ease the "dithering feeling" of dither transparency. However, the stencil buffer in SRP is currently in a mess, so the blur effect becomes fullscreen. You can just disable it now. Also, the support for true transparent objects will be added soon.

@bladesero
Copy link
Author

I figure out the first problem.It's because the Tex2DArray need SM5.0 on DX11.But the Sun shadow still can't be drew correctly.

@bladesero
Copy link
Author

image

@GuardHei
Copy link
Owner

I'll check dx11's api. I don't have a win laptop around right now, gonna take some time.

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