Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Feature Requests => [Max] Resolved Feature Requests => Topic started by: lupaz on 2017-09-08, 18:53:54

Title: Ability to switch between multiple HDRIs
Post by: lupaz on 2017-09-08, 18:53:54
People were requesting the dome light to be able to switch between multiple HDRIs for lighting situations.

I think it would be cool if, the same way that in Render Setup/Scene Environment you can choose "Use Corona" there could be, right there, the option of adding many of those slots (like with 3DS Max's multi subobject material you can choose how many materials you want). So "Use Corona" would be one of many.

Ideally you could name the slot yourself.

Having that round check box would let you switch from one environment to another without ever having 2 at the same time.
Title: Re: For when you need to switch multiple HDRIs
Post by: Tanakov on 2017-09-14, 23:03:33
You can do that using any layered material, blend, composition, mix etc. It will take 2 clicks to switch maps.
Title: Re: For when you need to switch multiple HDRIs
Post by: iancamarillo on 2017-09-14, 23:17:09
But usually a hdr "lights" a scene. UX wise, wouldn't it be better to place a switching functionality of hdr lighting as a light? It just seems more logical to me. And if you want different back plates then change that in the environment or add foreground/background within the framebuffer?
Title: Re: For when you need to switch multiple HDRIs
Post by: matsu on 2017-09-15, 02:51:50
This is my approach:

Keep a couple of HDRI's in the slate mat editor. The "Env map" Output is a "container" that is linked to the rest of the slots. Change here, and change all over. Very simple.

I've set this up in my template file, so I only need to set it up once.

Title: Re: For when you need to switch multiple HDRIs
Post by: romullus on 2017-09-15, 10:20:43
This is my approach:

Keep a couple of HDRI's in the slate mat editor. The "Env map" Output is a "container" that is linked to the rest of the slots. Change here, and change all over. Very simple.

I've set this up in my template file, so I only need to set it up once.

And if you'd change "env map" node type from Output to CoronaOutput, you will have very powerfull and flexible setup, very similar to what i use often :]
Title: Re: For when you need to switch multiple HDRIs
Post by: matsu on 2017-09-15, 11:52:16
I'll try that!

The first output really doesn't do anything though. It's merely there so I only have to link the map at one location.
Title: Re: For when you need to switch multiple HDRIs
Post by: steyin on 2017-09-15, 18:14:53
What does the float controller do? Never used it before.
Title: Re: For when you need to switch multiple HDRIs
Post by: pokoy on 2017-09-15, 18:37:40
What does the float controller do? Never used it before.
You can use it to drive numeric parameters, the best thing is you can instance float input that way, driving output for numerous maps in one go, for example.
Title: Re: For when you need to switch multiple HDRIs
Post by: matsu on 2017-09-17, 04:01:30
What does the float controller do? Never used it before.
It's just to be able to quickly see and manipulate the values that would otherwise require you to click into each of the maps. And as Pokoy said, it's great because you can instance that value to drive several maps, if you so wish.
Title: Re: For when you need to switch multiple HDRIs
Post by: Parentesi on 2021-07-03, 14:31:46
This is my approach:

Keep a couple of HDRI's in the slate mat editor. The "Env map" Output is a "container" that is linked to the rest of the slots. Change here, and change all over. Very simple.

I've set this up in my template file, so I only need to set it up once.


Hi
I am trying to find that map there where you load the different HDRs in, and I am unable to find it.
Any chance you can point me in the right direction?
Thank you!
Title: Re: Ability to switch between multiple HDRIs
Post by: maru on 2021-07-05, 17:17:23
Corona Select map:
https://coronarenderer.freshdesk.com/support/solutions/articles/12000057928-corona-select-material-and-map
Title: Re: Ability to switch between multiple HDRIs
Post by: Ondra on 2022-09-15, 23:29:13
Select Map solves this
Title: Re: Ability to switch between multiple HDRIs
Post by: lupaz on 2022-09-16, 15:06:26
It does. Thank you!
Both select map and select material were great additions.