Basic Lighting - No shadows, Easy to use, Reach Profile

Tagged:

Basic Lighting in FRB
V 1.3
14-03-2012

A basic lightengine to be used with FRB XNA 4.0. Works under Reach Profile and on low-end systems.
It comes in a ready project which you can use as a base for your own game. It's also very easy to implement in an existing FRB project, just copy the classes in the LightEngine folder/namespace, paste them in your project and follow the instructions in the LightEngine.cs class.

This "engine" does not draw shadows, but can be very powerful to create an appealing atmosphere.

UPDATED in v1.3:
- Moving camera supported
- Extended example somewhat (check GameScreen.cs)
- Fixed some minor bugs
- Some minor performance improvements

UPDATED in v1.2:
- Lights have a color property, this is used for tinting the light texture.
- Fix for a bug related to resolution change on Xbox360
- Packed the whole thing in an example project. Can't get any easier now :)

UPDATED in v1.1:
- Static lights. Lights that do not change often can be made static. They become really cheap and you can add many.
- Light's BackgroundSprite. This is a normal sprite, drawn in the gameworld if the light is on. Can be used to excess the visual impact of a light.
- Code optimized and simplified a bit.

Have fun lighting up your game :)

Jordin Kee
KeeWeed
info@keeweed.com
www.keeweed.com

Basic Lighting - No shadows, Easy to use, Reach Profile
Basic Lighting - No shadows, Easy to use, Reach Profile
Product File: 
Syndicate content