Author Topic: backface cull in object properties do not work...  (Read 7029 times)

2015-07-15, 11:19:19

amitshneor

  • Active Users
  • **
  • Posts: 53
    • View Profile
is backface culling not working in corona?
i have a box with flip normal modifier and backface cull in object properties, but it renders as 2 sided.

any clue?

2015-07-15, 11:39:12
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
It's just the way Corona works. You can use CoronaFrontBack map in opacity slot to produce the same effect.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-07-15, 15:04:58
Reply #2

amitshneor

  • Active Users
  • **
  • Posts: 53
    • View Profile
well...tried it in opacity slot...white in front face black in backface...the model turns black.

am i doing it wrong?

2015-07-15, 15:10:54
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
well...tried it in opacity slot...white in front face black in backface...the model turns black.

am i doing it wrong?
If it's a solid model (with thickness) then nothing is wrong, you are simply viewing the inside of the model, which is black because no light gets inside. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-07-15, 15:53:26
Reply #4

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
AFAIK the Backface Cull switch in object properties is only for the viewport display - not the renderer (no matter what renderer).

2015-07-15, 16:01:57
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
AFAIK the Backface Cull switch in object properties is only for the viewport display - not the renderer (no matter what renderer).
Nope. It usually renders like in viewport, unless you select "force 2-side" in render setup.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-07-15, 18:31:50
Reply #6

amitshneor

  • Active Users
  • **
  • Posts: 53
    • View Profile
its a simple box. no shell or thickness.
still black..


?

2015-07-16, 11:02:56
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Light does not get inside. Take a look:
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-12-24, 16:50:48
Reply #8

sk-films

  • Active Users
  • **
  • Posts: 19
    • View Profile
For those who searching - #Corona Clipping Mesh , #Corona Custom Clipping Plane, #Corona Mesh Clipper 
It's not slicer, but actual clipper.

Check the screenshot attached.
In short - Replacing direct visibility with transparent material (based on distance object). Leaving the rest of properties of material the same as original.

Hints:
 1) You can easily swap White and Black colors in Distance Map and it will be reveal object (insted of clipping)
 2) You can use Mask (bitmap) instead of Distance object.
 3) you can use Front/Back Texmap to render as it is backface culled (All the lighting and reflections stays original)

P.S. Hope devs can implement this feature (as it will be much more efficient on their side, as it will just start rays from the back of the mesh)



« Last Edit: 2020-12-24, 17:16:57 by sk-films »