Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 the8thbit · Jul 25, 2018 at 07:24 AM · lightingshadowslighting bugshadow bugrealtime-shadows

Very Strange Realtime Shadows

I'm trying to do realtime lighting, and my shadows are acting very strange. When I project a spotlight out from the camera (like a flashlight in a first person game) my shadows show up as 3D skews of the objects, and I can actually clip through them if I move the camera in the right way... if I detach lights from the camera and just have them sit in one position, I don't seem to have this issue (cylinder to the right is just the model Im using for the flashlight... its attached to the camera):

alt text

alt text

  • All objects have Cast Shadows set to "On"

  • All objects have Receive Shadows checked

  • All objects have Light Probes and Reflection Probes set to "Blend Probes"

  • All objects have Motion Vectors set to "Per Object Motion"

  • All objects have Lightmap Static unchecked

  • All objects have Dynamic Occluded checked

  • All lights have Mode set to "Realtime"

  • All lights have Shadow Type set to "Soft Shadows"

  • All lights have Realtime Shadow Strength set to 1

  • All lights have Realtime Shadow Resolution set to "Very High Resolution"

  • All lights have Realtime Shadow Bias set to 0 (changing this doesn't seem to effect the issue)

  • All lights have Realtime Shadow Normal Bias set to 0 (changing this doesn't seem to effect the issue)

  • All lights have Realtime Shadow Near Plane set to 0.1 (changing this doesn't seem to effect the issue)

  • All lights have Draw Halo unchecked

  • All lights have Render Mode set to "Auto"

  • All lights have Culling Mask set to "Everything"

  • Camera has Clear Flags set to "Solid Color"

  • Camera has Background set to #000000

  • Camera has Culling Mask set to "Everything"

  • Camera has Projection set to "Perspective"

  • Camera has Field of View set to 60

  • Camera has Near Clipping Plane set to 0.3

  • Camera has Far Clipping Plane set to 1000

  • Camera has Viewport Rect set to 0, 0, 1, 1

  • Camera has Depth set to 0

  • Camera has Rendering Path set to Use Graphics Settings

  • Camera has Occlusion Culling checked

  • Camera has Allow HDR checked

  • Camera has Allow MSAA checked

  • Camera has Allow Dynamic Resolution unchecked

  • Camera has Target Display set to "Display 1"

  • In Player, Rendering Color Space set to "Linear"

  • In Player, all Rendering Auto Graphics APIs checked (win, mac, lin)

  • In Player, Rendering Static Batching checked

  • In Player, Rendering Dynamic Batching checked

  • In Player, Rendering GPU Skinning unchecked

  • In Player, Rendering Graphics Job (Experimental)* unchecked

  • In Player, Rendering Lightmap Encoding set to "High Quality"

  • In Graphics, all Built-in Shader Settings are set to "Built-in shader"

  • In Graphics, Shader Stripping Lightmap Modes is set to "Automatic"

  • In Graphics, Shader Stripping Fog Mode is set to "Automatic"

  • In Graphics, Shader Stripping Instancing Variants is set to "Strip Unused"

  • In Graphics, Preloaded Shaders Size is set to 0

  • In Lighting, Skybox Material is set to "Default-Skybox"

  • In Lighting, Sun Source is set to "None (Light)"

  • In Lighting, Environment Lighting Source is set to "Color"

  • In Lighting, Environment Lighting Ambient Color is set to #000000

  • In Lighting, Environment Lighting Ambient Mode is set to "Realtime" (and the dropdown box is greyed out, so I can't change it)

  • In Lighting, Environment Reflections Source is set to "Custom"

  • In Lighting, Environment Reflections Cubemap is set to "None (Cubemap)"

  • In Lighting, Environment Reflections Compression is set to "Auto"

  • In Lighting, Environment Reflections Intensity Multiplier is set to 0

  • In Lighting, Environment Reflections Bounces is set to 1

  • In Lighting, Realtime Global Illumination is checked

  • In Lighting, Baked Global Illumination is unchecked

  • In Lighting, Fog is unchecked

shadow.jpg (287.8 kB)
shadow2.jpg (286.5 kB)
Comment
Add comment
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

0 Replies

· Add your reply
  • Sort: 

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

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

My lightning got broken after I changes the shadow strength. 0 Answers

Scene lights flickering 0 Answers

HDRP High Quality Shadow Filtering really noisy for some reason 0 Answers

Unity shading artifacts 0 Answers

Flickering, buggy realtime shadows on Android. 0 Answers


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