Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Cervelx · Nov 03, 2016 at 12:15 AM · shadowsrenderforward

Shadow artifact... forward mode

Hi Guys, I have a big problem with my realtime hard shadows in the mobile build, the problem is a strange big rectangular shadow in the middle of the scene :/ the rest of the shadows work very well... see the pics for more details :)

[IMG]http://i63.tinypic.com/2qb6sjm.jpg[/IMG] [IMG]http://i65.tinypic.com/3343ztv.jpg[/IMG] [IMG]http://i67.tinypic.com/30wa7is.jpg[/IMG] [IMG]http://i66.tinypic.com/fy370o.jpg[/IMG] [IMG]http://i68.tinypic.com/2qbwwo5.jpg[/IMG]

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Zitoox · Nov 03, 2016 at 12:41 AM 0
Share

Can't see your pics. Are you using hard shadows with the directional light?

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Zitoox · Nov 03, 2016 at 12:43 AM

Okay, i found a way to see them.

Anyway, disable the "Hard Shadows" option in your Directional Light and see if it worked. Sometimes, dependig on your scene, if you enable hard shadows in the directional light, a retangular shadow thing will appear. I can't explain why, but it just does. Change shadow type to No Shadows and it should work.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Cervelx · Nov 03, 2016 at 08:23 AM 0
Share

Soft shadow is better ? Because i need a bit of shadow under the models in game :) ( tonight i will test) Thank you Zitoox !

avatar image Zitoox Cervelx · Nov 03, 2016 at 05:02 PM 0
Share

It depends. Soft shadows look better than hard shadows, but they affect performance. It is a quality question. But unless your game is going to be large or focusing on graphics and details only, changing from hard to soft shadows shouldn't change that much the performance in low spec mobile devices.

Have a look at this page in the docs: https://docs.unity3d.com/460/Documentation/$$anonymous$$anual/DirectionalShadowDetails.html

avatar image Cervelx Zitoox · Nov 03, 2016 at 07:27 PM 0
Share

grrr i've setting in soft shadows in my directional and "Hard and soft shadow" in my quality settings ( there is not only soft shadow) but the rectangular is still there... anyway realy thank yoy :) i'm studying the doc, is possible that this problem is a bug of my version ? (5.02f)

Show more comments
avatar image
0

Answer by tanoshimi · Nov 03, 2016 at 07:33 PM

To me, this doesn't look like a shadow artifact - it just looks like you have a grey-blue coloured quad mesh positioned underneath your platform level. alt text

Try disabling objects in your scene hierarchy one at a time and seeing if the issue disappears.


untitled.png (408.5 kB)
Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Cervelx · Nov 03, 2016 at 07:56 PM 0
Share

@tanoshimi I also thought the same thing, but I assure you it's a different rectangular, moves following the movements of the player :(

avatar image tanoshimi Cervelx · Nov 03, 2016 at 08:00 PM 0
Share

That would suggest it's a child of the camera (or of the player). I see you have at least two cameras in the scene - what are their culling flags? Have you tried disabling one? Does this "artifact" appear in both scene view and game view?

avatar image Cervelx tanoshimi · Nov 03, 2016 at 09:02 PM 0
Share

interesting , i try now :)

Show more comments
avatar image
0

Answer by Cervelx · Nov 03, 2016 at 11:11 PM

@tanoshimi @Zitoox

Spot light, in soft light and hard light ( same new artifact ), culling mask of the light is "everything" alt text


errore02.jpg (146.3 kB)
Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tanoshimi · Nov 04, 2016 at 06:59 AM 0
Share

So does this solve the problem? If this happens in scene and game view with every type of light, perhaps you need to update your graphics drivers.

avatar image Cervelx tanoshimi · Nov 04, 2016 at 09:16 AM 0
Share

In my Pc i don't see the artifact, i can see it only in the mobile phone... samsung galaxy s6 edge

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

58 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Realtime shadows don't always render 1 Answer

Why URP lit shader gives shadow artifacts? 0 Answers

Multiple directional lights with shadows 1 Answer

PBR Custom Shader produces no shadow 0 Answers

Unity3D Deffered Rendering - Shadows everywhere/huge shadow in scene for no reason. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges