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.

Author
Message
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 4th Oct 2005 18:05
anyone know a good setting for a nice window glass effect?
NanoBrain
19
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 5th Oct 2005 09:27
David iz cool,

Are you using DarkBasic Classic or Professional? On the contrary, there might not be a standard setting for glass. But, the amount of fade on an object needed to be glass, would depend on how transparent the glass should be.

Take your object you wish to be glass, use GHOST OBJECT ON Objectnumber to make it semi-transparent. Then, simply fade it out some amount, using FADE OBJECT Objectnumber, Fadevalue. Experiment with the value until you get the desired fade.

As an added effect, duplicate this same object and place it at the same location as its first. Scale the duplicate up a tiny sum, and then texture it with a fitting reflection image texture. When the camera rotates, have its texture scroll around it. This will create a nice "fake" real-time reflection on the glass window.



+NanoBrain+
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 5th Oct 2005 14:47
thanks
Antidote
19
Years of Service
User Offline
Joined: 18th Mar 2005
Location: San Francisco, CA
Posted: 10th Oct 2005 01:04
set object alpha objnum , alpha value.

That is what I use in addition to ghost object.

I R tEh Antid0te! ROOOAAAR!

Login to post a reply

Server time is: 2024-09-24 05:27:37
Your offset time is: 2024-09-24 05:27:37