Author Topic: Visibility Bug When using SSS or Volumetrics  (Read 1182 times)

2016-10-05, 22:14:31

paulosamsam

  • Active Users
  • **
  • Posts: 6
    • View Profile
Corona Render visibility bug when using SSS

Try With material 1 and Material 2
When material has sss, visibitily parameters are ignored, and does not matter if refraction is 0,0... is still affecting....
This does not happen when using any material with NON SSS ou Volumetrical properties.
Samples in these link:

https://drive.google.com/drive/folders/0B-5tiadC6q7Sb05MTXZrZ0xxX1k

2016-10-06, 16:33:48
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 8612
  • Marcin
    • View Profile
Interesting. My guess is that it would mean that "visibility" only hides object's surface, and SSS materials are computed for its volume. That would also explain why surface properties like reflectivity are invisible when setting visibility to 0.

2016-10-06, 19:13:48
Reply #2

paulosamsam

  • Active Users
  • **
  • Posts: 6
    • View Profile
yeah! I also think that´s the reason... to solve it we did a maxscript like: when visibility is = 0,0 objects are  not rendereable, when visibility is :1,0 objects are renderable, and this script runs by every frame... it is a temporary solution... but it worked... =]... hope we have a official solution soon

2016-10-07, 22:11:11
Reply #3

paulosamsam

  • Active Users
  • **
  • Posts: 6
    • View Profile
Are u guys taking a look at it?