Jump to content

  • Log In with Google      Sign In   
  • Create Account

Calling all IT Pros from Canada and Australia.. we need your help! Support our site by taking a quick sponsored surveyand win a chance at a $50 Amazon gift card. Click here to get started!


Blending two shadow blobs


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 AhmedCoeia   Members   -  Reputation: 510

Like
0Likes
Like

Posted 03 March 2014 - 04:54 AM

Hi All,

 

I have a bicycle, and one texture that has two projects, top, and side of a shadow. Both textures are set into one quad with 4 vertices. 

How would I blend between the two textures based on an angle of the directional light for example, so that I give an illusion of shadow?

An algorithm or approach pseudocode, would be nice smile.png

 

 

Attached Thumbnails

  • 33.png

Edited by AhmedCoeia, 03 March 2014 - 08:41 AM.


Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS