Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Blending two shadow blobs

4: Adsense

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   

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.





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.