Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBC] Texture blending snippets (old school)

Author
Message
Yarbles
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Toronto
Posted: 26th Sep 2008 04:01
I was looking through my archives today and found some very useful, old school texture blending snippets by Dr. Avalanche and Guy Savoie written a few years ago for DBC.

These were originally posted on the OLD forum. I did a search on this forum and couldn't find them, so I figured I'd post them again.

These are particularly useful for creating textures to use with a DarkBasic Matrix.

This snippet by Dr. Avalance creates 12 "smooth transitioning" gradient textures from 2 base textures.


Texture Blender:




This next snippet by Guy Savoie is similar in function to the one above, except instead of programatically generating the gradient mask, it uses a 3rd texture to let the user specify the gradient mask manually.


Texture Blender with Masks:

Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 20th Oct 2008 17:56
Thanks Yarbles,

these are great! and should come in handy in a project I'm working on.

Enjoy your day.

Login to post a reply

Server time is: 2024-11-22 07:45:38
Your offset time is: 2024-11-22 07:45:38