SRP icon indicating copy to clipboard operation
SRP copied to clipboard

SAMPLE_TEXTURE2D_ARRAY_SHADOW cannot map expression to ps_4_0 instruction on DX12

Open bladesero opened this issue 5 years ago • 4 comments

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

bladesero avatar Dec 10 '19 02:12 bladesero

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.

GuardHei avatar Dec 18 '19 20:12 GuardHei

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 avatar Dec 20 '19 01:12 bladesero

image

bladesero avatar Dec 20 '19 01:12 bladesero

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

GuardHei avatar Dec 25 '19 12:12 GuardHei