Problem summary
Card with a constant as a texture does not receive or cast shadows from 3D scene lighting correctly
Customer reported version
nuke.10.5v2
Customer reported platform
windows7
Steps to reproduce
1. Open customer script
2. View ScanlineRender node
3. With Switch set to 0 and Shuffle node not disabled, notice that a shadow is generated
4. Disable the Shuffle node
Result: Shadow no longer appears, even though Shuffle is only passing the same channels through to the same layer
5. Set the Switch node to 1 so the checkerboard is the input
6. Disable the Shuffle node
Result: Shadow appears fine for checkerboard node, so is only an issue with Constants
Workaround
Add a Shuffle node after the Constant and output the RGBA channels back to the same layer
Reproduced by support
Nuke 10.5v2 - OSX 10.11.6 - Windows 8
Nuke 8.0v6 - OSX 10.11.6
Nuke 8.0v4 - Windows 8
Nuke 7.0v6 - OSX 10.11.6
Expected behaviour
Received and cast shadows to work as expected
Actual behaviour
Received and cast shadows do not interact with the Constant texture