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 / How do I load an fx file?

Author
Message
Bloder
19
Years of Service
User Offline
Joined: 24th Feb 2007
Location: Cyberspace
Posted: 11th Sep 2010 01:17
How do I load an fx file into my game to create a bloom effect. I have the file but how do I load it to the endtire level so everything is bloomed.
penguin

If I were you, I'd make a game...
Dia
21
Years of Service
User Offline
Joined: 16th Jan 2005
Location:
Posted: 11th Sep 2010 04:37
you mean like:



I haven't used fullscreen effects myself, but I imagine they are used in a very similar way to single object effects

This is not the Sig you are looking for....
Sixty Squares
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 11th Sep 2010 05:58
-Load the effect with the Load Effect command.
-Make a new camera and set it to an image using the Set Camera To Image command.
-Make a plain.
-Texture it with the camera image.
-Apply the effect you loaded earlier to it with the Set Object To Effect command.
-Place it in front of the screen each loop.
-Position the new camera to your main camera each loop.

See this thread or search "Bloom" or "HDR" for more.


Guns, cinematics, stealth, items and more!
Sepnon
16
Years of Service
User Offline
Joined: 7th Feb 2010
Location: Brazil
Posted: 11th Sep 2010 22:44
then what is 'load camera effect' for?
Sixty Squares
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 12th Sep 2010 00:50
Quote: "then what is 'load camera effect' for? "


That's a DarkShader command. I don't use it except for with DarkShader shaders, so I'm not too familiar with its full capabilities


Guns, cinematics, stealth, items and more!

Login to post a reply

Server time is: 2026-07-22 12:41:09
Your offset time is: 2026-07-22 12:41:09