SRP
SRP copied to clipboard
SAMPLE_TEXTURE2D_ARRAY_SHADOW cannot map expression to ps_4_0 instruction on DX12
Another problem is why the editor is blurred?There don't have a post pocessing gameobject.
My enviroment is Windows10,gtx1650.

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.
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.

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