Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


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