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.

DarkBASIC Professional Discussion / Overlapping Colour Shader

Author
Message
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 24th Feb 2011 20:01 Edited at: 24th Feb 2011 20:05
Is it possible to make a shader that colours overlapping objects like this bottom image...



I have seen Ghost Object do something like that, I want almost black objects to light up where they overlap... and a fast frame rate, because I will have several thousand objects overlapping.

thenerd
17
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 24th Feb 2011 21:06
So, you basically want additive blending?

Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 24th Feb 2011 21:28 Edited at: 24th Feb 2011 21:30
Maybe that's what I want, not sure. I have sphere that bump into one another in 3D, but overlap when they bump.

Login to post a reply

Server time is: 2026-07-17 13:59:13
Your offset time is: 2026-07-17 13:59:13