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.

Dark GDK / how to use .fx files on a cube ??

Author
Message
stevebrit
15
Years of Service
User Offline
Joined: 6th Jan 2009
Location: Florida USA
Posted: 26th May 2009 21:02
Hello, pleae can anyone point me in the right direction for the use of

dbSetEffectOn( 2, "c:/media/FurEffect.fx", 0 );

Trying to get a cube to have an effect on it.

If i use the above function the cube becomes invisible.

If i comment this out i see the cube that i created BUT
its plain with nothing on it...

Hopefully someone could show me an example of how to get a .FX file to work on a cube??....

Thanks for any help on this

Regards :- Steve

AMD Athlon64x2 3.1Ghz - Ram 4Gb DDR2 800Mhz - 500Gb HD
Ndivia 9600GT SLI - 24in LCD - WIN 7 - 64 bit BETA
prasoc
15
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 26th May 2009 21:11
Try using a double backslash instead of a forward one. You also have to texture it (look in the .fx file for the textures and put them on with those "stages" starting at 0)

for example:

Login to post a reply

Server time is: 2024-10-06 15:21:00
Your offset time is: 2024-10-06 15:21:00