Results 1 to 9 of 9

Thread: Can I use nodes to effectively redden light that hits at a shallow angle?

  1. #1
    May the sauce be with you starbase1's Avatar
    Join Date
    Feb 2003
    Location
    London, UK
    Posts
    5,592

    Can I use nodes to effectively redden light that hits at a shallow angle?

    Looking to upgrade my Earth model further, and one thing I'd like to do would be to redden the lighting along the globe where night meets day, to emulate the reddening of sunrise / sunsets.

    Or to put it another way, can I control the colour of light depending on the incidence angle with the surface it hits? Or some equivalent effect?

    Cheers,
    Nick
    Faith is the opposite of Intelligence.

    Touched by his noodley appendage!
    My Lightwave Graphics & Downloads!!!

  2. #2
    I'm not a node expert but I'm sure it can be done. In the regular shading method just add a red tint to your surface on a light incidence gradient.

  3. #3
    May the sauce be with you starbase1's Avatar
    Join Date
    Feb 2003
    Location
    London, UK
    Posts
    5,592
    There's a node that can tint a shader / surface?
    Faith is the opposite of Intelligence.

    Touched by his noodley appendage!
    My Lightwave Graphics & Downloads!!!

  4. #4
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    7,897
    There's a node that can tint a shader / surface?
    Multiply color by color (vector by vector)?

  5. #5
    May the sauce be with you starbase1's Avatar
    Join Date
    Feb 2003
    Location
    London, UK
    Posts
    5,592
    Quote Originally Posted by Sensei View Post
    Multiply color by color (vector by vector)?
    That sounds tricky to calculate - and very difficult to blend in...

    I was hoping for something more direct, like linking the light colour to the angle of incidence where it hits the surface...
    Faith is the opposite of Intelligence.

    Touched by his noodley appendage!
    My Lightwave Graphics & Downloads!!!

  6. #6
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    7,897
    Shaders > Relfections > Reflection node does what I said when you click Tint button and pick up color.

    Use normal color, and then tinted like above, as sources to Mixer Bg/Fg Color, Incidence node plug to Opacity in Mixer.

  7. #7
    Super Member dwburman's Avatar
    Join Date
    Feb 2003
    Location
    Washington State, USA
    Posts
    2,880
    I did some experimenting and posted a video about it. I'm not sure it's quite what you're looking for, but it might help.

    http://www.youtube.com/watch?v=HqWUQ1t4QLM

    The basic technique I tried was similar to the initial solution on your thread about mixing the light/dark maps (although I didn't see that thread before making the video) where I run a lambert shader into a gradient to make a red band at the edge of the shadow. I also tried just shifting the hue with the color tool.

    The color tool method might work if, instead of using the gradient to only shift the hue on the edge of the shadow, you make the whole image shift to red and use the gradient to blend the color shifted image back onto the original with a mixer node. I almost got there in the video.

    [edit]
    Nope. The color tool-hue-shift is a dead end because it turns the green stuff blue as well as the blue stuff red.... duh. Oh well. Maybe use a gradient to tint the output of the color map to red only and blend that in. (color to gradient input. Gradient would be black or dark red to red-orange.) then blend that back onto the main color flow with the gradient band as the mask (opacity input on a mixer node).

    [edit edit]
    Okay, I think Sensei is right about multiplying the color. It looks better than screen or additive, although I don't know if it reads as atmosphere per se.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	reddenEdge.jpg 
Views:	123 
Size:	112.8 KB 
ID:	109955   Click image for larger version. 

Name:	image0000_001.jpg 
Views:	131 
Size:	49.7 KB 
ID:	109956  
    Last edited by dwburman; 12-18-2012 at 02:52 PM.
    [mr] Dana W. Burman | http://dwburman.com
    Motion Graphics for sale at Pond5 Stock Footage
    Check out my tutorials at Liberty3d.com & my YouTube channel!

  8. #8
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    7,897
    I started wondering whether I understood your problem correctly.

    But here is mine idea from previous post:

    Click image for larger version. 

Name:	Snap1.png 
Views:	146 
Size:	618.9 KB 
ID:	109953

    Click image for larger version. 

Name:	Snap2.png 
Views:	146 
Size:	612.2 KB 
ID:	109952

  9. #9
    Goes bump in the night RebelHill's Avatar
    Join Date
    Nov 2003
    Location
    jersey
    Posts
    5,766
    Dot... again.
    LSR Surface and Rendering Tuts.
    RHiggit Rigging and Animation Tools
    RHA Animation Tutorials
    RHR Rigging Tutorials
    RHN Nodal Tutorials
    YT Vids Tuts for all

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •