HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: Backface culling  (Read 1259 times)

devilman666

  • World Owners
  • ****
  • Posts: 18
    • View Profile
Backface culling
« on: Sep 04, 14, 01:22:20 AM »

How to enable backface culling for entire mesh?

Logged

keeperofstars

  • General Accounts
  • *
  • Posts: 998
    • View Profile
    • StarKeeper Online
Re: Backface culling
« Reply #1 on: Sep 08, 14, 09:34:32 PM »

are your refering to having the back of a flat mesh render instead of being transparent?
Logged
[img]http://screencast.com/t/x7btcSSyp3h0[\img]

devilman666

  • World Owners
  • ****
  • Posts: 18
    • View Profile
Re: Backface culling
« Reply #2 on: Sep 09, 14, 09:56:09 AM »

yes
Logged

Stadi_Thompson

  • General Accounts
  • *
  • Posts: 324
    • View Profile
Re: Backface culling
« Reply #3 on: Sep 09, 14, 11:17:22 AM »

You can't by default. Technically it can be done if you write a shader to do it. Has also been posted that you can check an option and manually export with granny plugin options, although I tried and it didn't work. Best thing to do is just duplicate the faces and flip the normal or make a 2 sided object.
Logged

keeperofstars

  • General Accounts
  • *
  • Posts: 998
    • View Profile
    • StarKeeper Online
Re: Backface culling
« Reply #4 on: Sep 09, 14, 08:45:16 PM »

as stated HE doesn't auto double side, there are good reasons for it, and reasons why you want to save the work load. So instead of force added work on the GPU the devs left it open ended, so the modeler can work through it.

Stadi pretty much gave you the options to work around.
Logged
[img]http://screencast.com/t/x7btcSSyp3h0[\img]

devilman666

  • World Owners
  • ****
  • Posts: 18
    • View Profile
Re: Backface culling
« Reply #5 on: Sep 10, 14, 01:03:30 AM »

So it means that i cannot enable or disable it elsewhere right? Modeler should only should do it by himself right?
Logged

keeperofstars

  • General Accounts
  • *
  • Posts: 998
    • View Profile
    • StarKeeper Online
Re: Backface culling
« Reply #6 on: Sep 10, 14, 09:28:09 PM »

yeap, modeller needs to deal with it. The engine leaves the choice to the modeller on a per model bases.

It takes a few moments for a modeller to deal with, and has lots of reasons to be left up to the modeller.

Logged
[img]http://screencast.com/t/x7btcSSyp3h0[\img]

devilman666

  • World Owners
  • ****
  • Posts: 18
    • View Profile
Re: Backface culling
« Reply #7 on: Sep 11, 14, 01:59:09 AM »

Thank you!
Logged