forked from bartvdbraak/blender
Cycles: Update TODO, camera in volume is supported already
This commit is contained in:
parent
0e12228bd9
commit
6b0544eaaf
@ -357,8 +357,8 @@ void ShaderManager::device_update_common(Device *device,
|
||||
flag |= SD_HAS_ONLY_VOLUME;
|
||||
|
||||
/* todo: this could check more fine grained, to skip useless volumes
|
||||
* enclosed inside an opaque bsdf, although we still need to handle
|
||||
* the case with camera inside volumes too */
|
||||
* enclosed inside an opaque bsdf.
|
||||
*/
|
||||
flag |= SD_HAS_TRANSPARENT_SHADOW;
|
||||
}
|
||||
if(shader->heterogeneous_volume && shader->has_heterogeneous_volume)
|
||||
|
Loading…
Reference in New Issue
Block a user