mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix: Cycles MIS disabled unnecessarily with transparency, causing fireflies
This is a leftover from when there was a global option for transparent shadows, but since it's now per material this makes no sense anymore. Solution found by Olivier Maury. Pull Request: https://projects.blender.org/blender/blender/pulls/117735
This commit is contained in:
parent
330f3e3c2b
commit
02b9ea7072
1 changed files with 0 additions and 3 deletions
|
|
@ -108,9 +108,6 @@ ccl_device_inline void path_state_next(KernelGlobals kg,
|
|||
flag |= PATH_RAY_TERMINATE_ON_NEXT_SURFACE;
|
||||
}
|
||||
|
||||
if (!kernel_data.integrator.transparent_shadows)
|
||||
flag |= PATH_RAY_MIS_SKIP;
|
||||
|
||||
INTEGRATOR_STATE_WRITE(state, path, flag) = flag;
|
||||
INTEGRATOR_STATE_WRITE(state, path, transparent_bounce) = transparent_bounce;
|
||||
/* Random number generator next bounce. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue