Author Topic: Is it possible to disable shadows on an object but keep what the AO ma is doing?  (Read 1956 times)

2018-03-27, 11:38:01

DPS

  • Active Users
  • **
  • Posts: 118
    • View Profile
As per title.
Specs: AMD 1950X, Aorus Gaming 7 x399, 64GB RAM, 1080ti. Win10, Max 2017, Corona 1.7.3

2018-03-28, 11:00:22
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13698
  • Marcin
    • View Profile
Hi, we will need some more info:
-what do you mean by "disable shadows on an object"?
-what do you mean by "AO ma"
Can you post an example of this, or explain how you would like to use this?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2018-03-28, 23:47:22
Reply #2

mferster

  • Active Users
  • **
  • Posts: 525
    • View Profile
Are you trying to have a model with no shading except for the ao that's visible? (see attached)

If this is what you are looking for....
1. Create  a Corona Layered Material,with a corona light material as your  base material with emit light turned off.
2. in the layer 1 material create a material with 0 albedo, then plug in your Corona AO map into your mask slot (you will have to flip the black and white positions)

2018-03-29, 11:46:55
Reply #3

DPS

  • Active Users
  • **
  • Posts: 118
    • View Profile
I have an object and I want to disable its shadows (right click, object properties, disable shadows).
The object is still visible and is using an Ambient Occlusion map (set to internal) to drive some detail on the edges of my object.

Issue is that by disabling shadows, it also disables the AO.
Specs: AMD 1950X, Aorus Gaming 7 x399, 64GB RAM, 1080ti. Win10, Max 2017, Corona 1.7.3

2018-03-29, 17:18:49
Reply #4

mferster

  • Active Users
  • **
  • Posts: 525
    • View Profile
Yah, I see what you mean; It looks like turning off cast shadows breaks it completely.

I'm not sure there us a way to get around this unfortunately.

2018-03-29, 17:29:29
Reply #5

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 6126
    • View Profile
I can't think of a way off the top of my head, other than rendering twice - the second time through could be with the Render Only Masks option checked (assuming you are using AO as a CTexmap render element) so it would be super fast.
Tom Grimes | chaos-corona.com
Product Manager | contact us

2018-03-30, 04:30:01
Reply #6

DPS

  • Active Users
  • **
  • Posts: 118
    • View Profile
I used the data channel curvature map in the end instead of AO as a workaround. Downside is I needed to cut support loops and turbosmooth.
Specs: AMD 1950X, Aorus Gaming 7 x399, 64GB RAM, 1080ti. Win10, Max 2017, Corona 1.7.3