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
SpyDaniel
19
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 15th Feb 2006 23:22
I wanted to know, how I would get a glass effect. Because using an empty alpha image would make things invisible. Does DB have any way of producing glass?

Iam just a 3d modeller, not a programmer.
BMacZero
19
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 16th Feb 2006 00:30
If you wanted to put things like marks/scratches on the glass to make is show, you could make a .tga like is done in Cartography Shop with the Techgrid/Techmesh textures, then texture an object with it.

Right?

Bmaczero
Milkman
19
Years of Service
User Offline
Joined: 30th Nov 2005
Location: United States
Posted: 16th Feb 2006 00:52
Higgins: what you need is to texture your object with a semi-transparent png image. with a semi-transparent image, the alpha layer is grey, not completely black or white. you need a program like paintshop pro or photoshop to make this type of alpha layer, though.

formerly xMik
Oddmind
20
Years of Service
User Offline
Joined: 20th Jun 2004
Location: Atlanta, Georgia
Posted: 16th Feb 2006 00:55 Edited at: 16th Feb 2006 00:57
ha, nein... You need to use a .fx file for a true glass effect. I have attatched it here, but to use it, go to the "ultimate shaders thread" located in the stickied thread at the top of this forum

heres a link

http://forum.thegamecreators.com/?m=forum_view&t=49137&b=1

read thru, great information.

if you us that fx file you will get results like this...



formerly KrazyJimmy

Attachments

Login to view attachments
SpyDaniel
19
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 16th Feb 2006 02:00
Thats good to know, I can sleep with one less idea to worry about now. Ill mess around with it tomorrow, and might post some images of what i get.
Grandma
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location: Norway, Guiding the New World Order
Posted: 16th Feb 2006 09:21
OddMind, i tried the glass effect but all my models appear black after i apply that effect
Me!
19
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 16th Feb 2006 10:02 Edited at: 16th Feb 2006 10:03
for a guess your card doesn`t support shaders, why not try just ghosting the object with a black/grey texture applied?, like this



the first six lines or so make the "glass" texture, the rest set up the scene and rotate the camera around the "glass" sphere, not as sexy as shaders but it`s not going to slow the game down to 5fps either.



Windows: 32 bit extension/graphical shell for a 16bit patch to an 8bit OS originally coded for a 4bit CPU, written by a 2bit company that can't stand 1bit of competition, now available in 64bits.
SirFire
20
Years of Service
User Offline
Joined: 4th Apr 2005
Location: North America
Posted: 16th Feb 2006 10:49
Quote: "for a guess your card doesn`t support shaders"


I would guess that it does just like most other people's cards do. It's just likely that he doesn't have an uber high-end card like the people who keep writing these shaders do. Does anyone have shaders that work with 1.4? I don't see the point in coding shaders for 2.0 cards that almost nobody owns. Yeah, a few elite people have them, and likely paid for it with their right arm, but how about the majority of people who bought cards within the last couple years and don't rush out spending thousands of dollars on every single new video card technology that comes along?

I know next to nothing about shaders, but why is it hardly any exist for 1.4? Does 1.4 suck really bad? I realize that 2.0 is superior, but surely 1.4 is usefull for something.

Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 16th Feb 2006 12:16
um why does my pc see thta glass effect as a text document

Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 16th Feb 2006 12:41
Because it's basically just code, and code is words.

Also, I swear that "glass" effect is sphere-mapping. The background looks really fake. If it is sphere-mapping then it should work on a P3.

Red Ocktober
21
Years of Service
User Offline
Joined: 6th Dec 2003
Location:
Posted: 16th Feb 2006 13:42
i posted a pic of a simple glass effect in DBPro that didn't use any shaders, so it should work on your video card...

it was see thru and a lil shiny and reflective, and it wasn't hard to do at all, i'll see if i can find the post with the pics and the code...

--Mike
Grandma
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location: Norway, Guiding the New World Order
Posted: 16th Feb 2006 14:39 Edited at: 16th Feb 2006 17:35
My graphic card is Geforce fx 5800. I'm pretty sure that one supports shaders? i have no clue where the manual or box is so i can't check there.

Edit : i tested the bloom effect from the ultimate shaders stickie and that one works perfect so i'm confused as to why this glass shader doesn't work.

Edit 2 : okay i been at nvidia.com and there it says my card has pixel and vertex shader 2.0....so why doesn't this glass shader work???

"Stupid World of Warcraft.
I have no money, I have no skills. All of the hot hot elvin women are dancing with the big warrior guys. It's college all over again."
SpyDaniel
19
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 16th Feb 2006 15:52
Will these shaders work in the fps creator engine? Thats what iam going to use, and maybe build it into some thing better with help from a friend.
Agent Dink
21
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 16th Feb 2006 16:42
Quote: "Does anyone have shaders that work with 1.4? I don't see the point in coding shaders for 2.0 cards that almost nobody owns. Yeah, a few elite people have them, and likely paid for it with their right arm, but how about the majority of people who bought cards within the last couple years and don't rush out spending thousands of dollars on every single new video card technology that comes along?
"


Really? I have PS 3.0, and I only spent $230... You could get a PS 3.0 card for cheaper too. If you just want PS 2.0 go out and spend 30 dollars on a Radeon 9600SE, it has 2.0. Its really not too expensive, just look around a bit. You don't need a 7800 Ultra to have PS 3.0...

www.badpicsofmatt.tk
www.silver-dawn.net
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 16th Feb 2006 20:03
ok,

that makes it appear black...
i have a Radeon 9800 pro, and that supports PS2.0

Grandma
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location: Norway, Guiding the New World Order
Posted: 16th Feb 2006 20:22
I'm not the only one then

"Stupid World of Warcraft.
I have no money, I have no skills. All of the hot hot elvin women are dancing with the big warrior guys. It's college all over again."

Login to post a reply

Server time is: 2025-06-06 10:16:22
Your offset time is: 2025-06-06 10:16:22