CGTalk > Techniques > Lighting and Shaders
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
Thread Tools Search this Thread Display Modes
Old 05-31-2009, 03:10 AM   #1
Lighting Artist
Matias Codesal
Long Beach, USA
Join Date: May 2009
Posts: 36
Hdri + Fg


I'm having trouble getting accurate lighting from an HDRI in Maya 2009. I have set up the HDRI and I have Raytracing and FG turned on, but the lighting on my object too dark for the environment and I am not getting any shadows at all. Have a look.

I can get better results when I turn on emit light, but then I'm just regulating the light myself. What am I doing wrong? Thanks.
Old 05-31-2009, 06:27 AM   #2
Lighting & Rendering TD
MikeBracken's Avatar
Michael Bracken
Animagic Productions
St Louis, USA
Join Date: Nov 2004
Posts: 1,024
Not sure in Maya, but in Max we adjust the rgb value in the map parameters. What kind of HDR options are there ?

TD Animagic Productions
Old 05-31-2009, 07:36 AM   #3
Joat Mon
Steve Geer
San Jose, USA
Join Date: May 2007
Posts: 921
Send a message via AIM to phix314 Send a message via Yahoo to phix314
It depends on how you set up your shader.

You must:

A) Put it on the incand/ambient color slot of a normal (blinn, lambert, etc) shader
B) Put it on the Out Color of a surface shader
C) Put it on a dedicated IBL Node in the indirect light tab in the render globals (preferred method)

If you placed it anywhere else, including the color (diffuse) of a normal shader, its not going to register as "light".
Old 05-31-2009, 07:53 AM   #4
Lighting Artist
Matias Codesal
Long Beach, USA
Join Date: May 2009
Posts: 36
Thanks for the replies.

The above image was rendered with the HDRI attached to an IBL node. The only thing I changed on that node was raising hardware alpha from .5 to 1.
Old 05-31-2009, 12:51 PM   #5
misterwolfy's Avatar
wolfy wolfson
Join Date: Mar 2009
Posts: 313
From my experience, one way to turn up or down the exposure of the HDRI image based light is to change the hsb "value" attribute of the color gain under the IBL attributes (you can move it below or beyond 1).

try testing it in a simple scene. there may be something wrong with your shader setup on the geometry in the scene for all we know. Create a cube and a sphere, sitting on a plane. texture all with white or gray blinn. Attach your hDRI to the IBL node.
Old 06-01-2009, 06:25 AM   #6
Lighting Artist
Matias Codesal
Long Beach, USA
Join Date: May 2009
Posts: 36
Ok, I think I worked out the intensity issue. Thank you for the help.

Will IBL give me sharp shadows though? Right now I am just getting a little bit of shadow in the right direction. Do I need to supplement with software lighting to get accurate shadows?
Old 06-01-2009, 12:43 PM   #7
Smooth Like Hollywood
noouch's Avatar
Niko Conte
Munich, Germany
Join Date: Nov 2005
Posts: 1,151
Send a message via ICQ to noouch
That depends on the GI method you are using and the quality of the HDRI. A popular method is to remove the sun from the HDRI (replace it with a black spot), and then put a directional light at that point for casting light and shadow.
This should take less than a few minutes.
Old 06-01-2009, 12:43 PM   #8
CGTalk Moderation
CGTalk Forum Leader
Join Date: Sep 2003
Posts: 1,066,478
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 06:47 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.