Cycles Raytraced mode Enable/Disable Shadow



Do you know if is there any way to enable/disable shadow in raytraced mode by code?

Thanks and best regards

(Nathan 'jesterKing' Letwory) #2

Apparently DisplayPipelineAttributes isn’t completely wrapping all possible settings. Casting of shadows is not available, and some others are missing too. I have logged RH-44100 for this.

Note btw that you still see shadow generated by skylight, even though shadows are turned off. It is on my list to fix (RH-38107).

Access to DisplayPipelineAttributes for Raytraced: use RaytracedId as argument for GetDisplayMode, then use DisplayAttributes on the DisplayModeDescription to get the DisplayPipelineAttributes



Ok Nathan, Thank you for let me know it!

Best Regards