UnityURP-MobileScreenSpacePlanarReflection icon indicating copy to clipboard operation
UnityURP-MobileScreenSpacePlanarReflection copied to clipboard

No reflections in 2022.1.17f1

Open ShockWave2048 opened this issue 2 years ago • 8 comments

Hi! Cant get reflections in 2022.1.17f1. Some errors here. Can you help please? Screenshot_7

ShockWave2048 avatar Sep 25 '22 06:09 ShockWave2048

2022.3.3 too :(

Gu-yusi avatar Sep 01 '23 07:09 Gu-yusi

Have they not solved the problem yet? I really need it for my video game :(

androacks22 avatar Oct 27 '23 04:10 androacks22

Have they not solved the problem yet? I really need it for my video game :(

you may need this:) 屏幕截图 2023-10-27 125431

Gu-yusi avatar Oct 27 '23 04:10 Gu-yusi

esto

Honestly, I don't quite understand much, I'm sorry for my clumsiness :(. Should I change something in the code or what? Can you help me?

androacks22 avatar Oct 27 '23 05:10 androacks22

esto

Honestly, I don't quite understand much, I'm sorry for my clumsiness :(. Should I change something in the code or what? Can you help me?

Yes, you need to modify the MobileSSPRRendererFeature.cs script, the way of obtaining _CameraOpaqueTexture and _CameraDepthTexture has changed. 屏幕截图 2023-10-27 141551 屏幕截图 2023-10-27 141702 屏幕截图 2023-10-27 141734

Gu-yusi avatar Oct 27 '23 06:10 Gu-yusi

Sí, necesita modificar el script MobileSSPRRendererFeature.cs, la forma de obtener _CameraOpaqueTexture y _CameraDepthTexture ha cambiado. 屏幕截图 2023-10-27 141551 屏幕截图 2023-10-27 141702 屏幕截图 2023-10-27 141734

The warnings are gone, but now it's doing very strange things.😓 (It's a test project; my game is in another project. So, excuse the clutter in the assets) Captura de pantalla 2023-10-27 022218

androacks22 avatar Oct 27 '23 08:10 androacks22

@androacks22 You should set the graphics API in Player to Direct3D12

Gu-yusi avatar Oct 27 '23 09:10 Gu-yusi

@androacks22 You should set the graphics API in Player to Direct3D12

thank you very much for the help, it worked.

androacks22 avatar Nov 01 '23 22:11 androacks22