Forum Discussion
blenderpedia
11 years agoHonored Guest
Broken shadow unity 5
Hi there,
A month ago, i updated my project from unity 4 to 5. This process went well, but i discovered that the shadows looked strange. First i thought this was a unity problem, but when i started a new project, the shadows where normal.
I checked all my project settings, and it's hard to find out what is happening.
It does not help if i create a new scene without any script or object, still the weird shadow.
Anyone any idea what is wrong here ?
I added an image with the strange behaviour. The shadow is curved and hard. should be fading away smooth.
shadow_issue.jpg
A month ago, i updated my project from unity 4 to 5. This process went well, but i discovered that the shadows looked strange. First i thought this was a unity problem, but when i started a new project, the shadows where normal.
I checked all my project settings, and it's hard to find out what is happening.
It does not help if i create a new scene without any script or object, still the weird shadow.
Anyone any idea what is wrong here ?
I added an image with the strange behaviour. The shadow is curved and hard. should be fading away smooth.
shadow_issue.jpg
9 Replies
Replies have been turned off for this discussion
- vrdavebOculus StaffDoes this still happen with Unity 5.2.1p2? How many shadow cascades are you using and where are the splits and the shadow distance? See http://docs.unity3d.com/Manual/class-Qu ... tings.html.
- blenderpediaHonored GuestI am using unity 5.2.1p2. When i create a new project, it works fine, nothging wrong with these shadows. When i use my main project i get these shadow glitches.
i don't use cascades, this hits the performance, but when i use 2 or 4 cascades, the shadow is still broken. Switching to deferred rendering fixes the problem, but i like to work with forward rendering.
These two images show the difference.
sample_2.jpg ( new project)
sample_1.jpg ( main project ) - vrdavebOculus StaffThanks, we're taking a look at this.
- digitalExplorer
- ExtremeToastHonored Guest
- cyberealityGrand Champion@nmck: Does this only happen with "VR Supported" enabled?
If you uncheck the VR but leave everything else the same, does it work? - ExtremeToastHonored Guest@cybereality: it only happens with "vr supported" enabled. If I disable vr and play it, the shadows are displayed correctly.
- ExtremeToastHonored GuestJust to update that I managed to fix my problem, I'm still not sure what is causing it though. I recreated my player object and assigned the scripts and now it works fine. My old player object is identical and if I attach the camera to the old player object the shadows don't display correctly but with the new player object they do display correctly.
The only thing difference between the two objects is that my original player object was an imported asset, and the new one I just recreated it within the scene. - vrdavebOculus StaffFor the record, this was fixed in 5.3.2p1 and should no longer be an issue in any of our supported versions.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 11 months ago
- 2 years ago
- 2 years ago