Author Topic: Black color in viewport render  (Read 140 times)

2025-07-01, 06:21:47

frederick_visuals

  • Users
  • *
  • Posts: 3
    • View Profile
I use Corona 12, when I render normally the image still appears normally but when I move the camera the viewport turns black, even though I am not obstructed by any object. Please help me. Thanks guy a lot!

2025-07-01, 14:22:52
Reply #1

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 6125
    • View Profile
This is most likely a material with some volume effect to it, that is applied to non-closed geometry (think glass or water, applied to a flat plane). Because the geometry is not closed, and cameras can now detect when they should be classed as being inside a volume (to allow the "camera half submerged in a pool" type render), then the camera sees itself as being inside a volume.

Solutions: Close the volume (don't use flat planes, since nothing in reality has zero thickness). Remove the volume effect from the material. Or use Corona 13, that has a fix for this (basically looking in two directions rather than one to establish whether the camera is inside a volume).
Tom Grimes | chaos-corona.com
Product Manager | contact us

Yesterday at 04:41:39
Reply #2

frederick_visuals

  • Users
  • *
  • Posts: 3
    • View Profile
Thank you so much Tom! Means a lot to me!

Yesterday at 13:42:33
Reply #3

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 6125
    • View Profile
Most welcome! I recommend the "Corona 13" solution :) But the others should work too. I hope you get everything up and running as expected quickly and painlessly!
Tom Grimes | chaos-corona.com
Product Manager | contact us