Go Back   Steam Users' Forums > Steam Tool Discussions > Source Art & Sound Design

Reply
 
Thread Tools Display Modes
Old 05-19-2011, 12:30 AM   #1
Corey_Faure
 
Join Date: Aug 2010
Reputation: 2
Posts: 53
Does this shader parameter exist?

You know how phong shows according to the light hitting the model? Well, I was wondering if there was a way to have a texture kind of reveal itself when it was facing you/light. I'm not quite sure the best way to put it in words, but say I wanted to make a 3D Earth that had two textures, night and day. The lower the light level, the more the night texture would fade in on the low-lit side.

Is this possible?
Corey_Faure is offline  
Reply With Quote
Old 05-19-2011, 04:44 AM   #2
Biohazard_90
 
 
 
Join Date: Jun 2008
Reputation: 351
Posts: 1,814
You would have to write that effect yourself, but instead you could use a distinctively shaded and tinted $lightwarptexture along with your 'day' skin.
Biohazard_90 is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source Art & Sound Design


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 10:40 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2014, All Rights Reserved.