doesnt surface_reset_target() after you draw what you need fix that? If you need to, I can send you my gmk.
edit: damn scyler, you reply fast. Are you constantly refreshing the page or something?
Edited by bocochoco, 09 December 2008 - 04:41 AM.
Posted 09 December 2008 - 04:40 AM
Edited by bocochoco, 09 December 2008 - 04:41 AM.
Posted 09 December 2008 - 04:47 AM
Edited by Scyler_27, 09 December 2008 - 04:50 AM.
Posted 09 December 2008 - 04:52 AM
Edited by bocochoco, 09 December 2008 - 04:53 AM.
Posted 09 December 2008 - 04:55 AM
Edited by Scyler_27, 09 December 2008 - 05:05 AM.
Posted 09 December 2008 - 04:59 AM
Posted 09 December 2008 - 01:47 PM
Posted 09 December 2008 - 08:50 PM
Posted 09 December 2008 - 11:31 PM
Posted 10 December 2008 - 08:40 AM
Oh gray will do the trick, It looks like hdr lighting is on lol which looks wikedI do have an option, it is called alpha.
You can change the alpha value when setting the color to make it less bright. Also, when designing your lights, don't use so much white, use more grays to get a duller light. With this version, there is a way to tone it down. But with the old version, there was no way to get it brighter. Thanks for the feedback though.
Posted 12 December 2008 - 01:56 AM
Posted 13 December 2008 - 08:46 PM
Posted 16 December 2008 - 05:59 PM
Posted 17 December 2008 - 11:54 PM
Edited by Scyler_27, 19 December 2008 - 11:32 PM.
Posted 22 December 2008 - 03:09 AM
Posted 22 December 2008 - 03:28 AM
Easy Lighting v3.9!
Easy, yet effective.
Hi! If you are looking at this topic, you are obviously in need of a good lighting engine. After browsing the Internet for a lighting engine myself, I noticed that the few options I found were hastily thrown together and some even had errors. I decided to take it upon myself to make my own lighting engine that would be not only easy to use, but flexible. I also wanted to make sure that it ADDED something to the game, I wanted it to be worth the effort! Well, I think I have succeeded. Let me list some of the features:
-Extremely fast lighting.
-6 easy to use functions.
-Very flexible.
-Customizable surround lighting! Do you want it based at midnight? Or perhaps at dawn?
-Three built-in light shapes for quick creation and testing!
-Supports custom light shapes with no slow down.
-Rotate and color your lights!
-Intense lighting which resembles HDR lighting!
-Lights "interact" with objects and other lights, making moving lights look that much more stunning!
-View support, have the lights drawn in only one view!
If that isn't enough to get you interested, check out this screenshot taken from the provided example.gmk:
Lights aren't just placed on top of objects, they interact with and brighten them! Though, of course, there is the option to remove colors and blending altogether for a more simplistic look!
The download is a zipped file containing an example, and a .gex file. The example has a script labeled "Functions" which fully explains each function, but here is a quick summery:light_main_set() - Sets the properties for the surrounding light. light_add_light() - Creates a new light. light_set_light() - Modifies an existing light's properties. light_set_on() - Turns a specified light on and off. light_color_light() - Gives a light a color and intensity value. light_view_set() - Assigns a view the job of drawing lights.Lights can be turned on or off at will using light_main_set() and there are many ways (some included) to easily make flashing,blinking,and moving lights!
Don't wait any longer! It is a small file-size and well worth the download!
FILE:
Download - 50kb .zip <- Download v3.9
Contains: Lighting.gex , Example.gmk
License: Free to use, also in commercial games. - Credit not required, but appreciated.
All feedback appreciated! Please tell me of the things you do and don't like, any bugs you come across, and of course any ideas you think will benefit this .gex!
Posted 22 December 2008 - 03:56 AM
Edited by Scyler_27, 22 December 2008 - 04:29 AM.
Posted 22 December 2008 - 04:24 PM
Posted 22 December 2008 - 11:48 PM
Posted 25 December 2008 - 10:07 AM
Posted 26 December 2008 - 06:34 AM
0 members, 0 guests, 0 anonymous users