Shadow Pass includes Diffuse information? #25524

Closed
opened 2011-01-06 23:39:00 +01:00 by ben u · 6 comments

%%%OS X 10.6, blender 2.56 r34052

This may not be a bug but a feature request; however, after some conversation on blenderartists, I'm feeling like this may be a bug after all.

In the attached .blend, if you turn off the shadow for the lamp in the scene, you still get shadows on the back sides of the spheres. Thus, with no shadows being cast, the "shadow pass" is still returning shadows.

Isn't the shadow on the back side of those spheres more like [diffuse] SHADING than SHADOW? It seems to me that the "shadow pass" option should show shadows that have been CAST and not diffuse shading. It's as though the shadow on the back side of the sphere is being caught from the inside of the sphere, which doesn't make sense.... %%%

%%%OS X 10.6, blender 2.56 r34052 This may not be a bug but a feature request; however, after some conversation on blenderartists, I'm feeling like this may be a bug after all. In the attached .blend, if you turn off the shadow for the lamp in the scene, you still get shadows on the back sides of the spheres. Thus, with no shadows being cast, the "shadow pass" is still returning shadows. Isn't the shadow on the back side of those spheres more like [diffuse] SHADING than SHADOW? It seems to me that the "shadow pass" option should show shadows that have been CAST and not diffuse shading. It's as though the shadow on the back side of the sphere is being caught from the inside of the sphere, which doesn't make sense.... %%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%All objects cast shadows on themselves unless they are set to "Shadeless". You might think that this is still like casting shadows, but if so where does it get the light from?%%%

%%%All objects cast shadows on themselves unless they are set to "Shadeless". You might think that this is still like casting shadows, but if so where does it get the light from?%%%
Author

%%%The point here, though, is that a "shadow pass" probably shouldn't include the shadows that an object casts on itself -- at least in the way provided in the example blend. The dark faces are receiving shadows essentially because they are pointed away from the light -- on the dark side of the moon, as it were. (An example of when you would want it to cast shadows would be a character's hand dangling in front of his leg, which would cast a shadow on the leg.)

The dark side of the moon is made dark by the diffuse shader already. So if the shadow pass is ALSO returning a dark color on the dark side of the moon then it messes up the composite, as the diffuse [obviously] isn't adding any shadows cast on the floor. So I've got 2x darkness on the side pointed away from the light, and 1x where the shadow falls on the floor.%%%

%%%The point here, though, is that a "shadow pass" probably shouldn't include the shadows that an object casts on itself -- at least in the way provided in the example blend. The dark faces are receiving shadows essentially because they are pointed away from the light -- on the dark side of the moon, as it were. (An example of when you would want it to cast shadows would be a character's hand dangling in front of his leg, which would cast a shadow on the leg.) The dark side of the moon is made dark by the diffuse shader already. So if the shadow pass is ALSO returning a dark color on the dark side of the moon then it messes up the composite, as the diffuse [obviously] isn't adding any shadows cast on the floor. So I've got 2x darkness on the side pointed away from the light, and 1x where the shadow falls on the floor.%%%
Member

%%%What you mix up is diffuse shading - which only evaluates light when a normal points to the light sours - and shadow.
Shadow is based on occlusion of faces, the backside of spheres or objects are not shadow, thats just diffuse shaders at work.%%%

%%%What you mix up is diffuse shading - which only evaluates light when a normal points to the light sours - and shadow. Shadow is based on occlusion of faces, the backside of spheres or objects are not shadow, thats just diffuse shaders at work.%%%
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Author

%%%Ton: If "the backside of spheres or objects are not shadow" then are they supposed to show up in the shadow pass? That's what has me confused here..... I've identified a better way to isolate this, and will float it around blenderartists before resubmitting. Thanks!
%%%

%%%Ton: If "the backside of spheres or objects are not shadow" then are they supposed to show up in the *shadow* pass? That's what has me confused here..... I've identified a better way to isolate this, and will float it around blenderartists before resubmitting. Thanks! %%%
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#25524
No description provided.