The module provides a set of functions for lighting and rendering sprites with a point light source, using normal maps, reflection, and gloss. This only affects backgrounds, cannot be applied to objects or characters. Can be used to illuminate room backgrounds. You able to set the color of the different components of the light source, its height above the surface, the radius of the light spot (the rendering time increases proportionally to the square of the spot's radius).
It also contains a function for "fast" lighting without using normal maps.
The room for the background of which the module is applied must have a background of the same size as the sprites which contains the information about pixels (for example the background can be the sprite itself containing the Color map or a black rectangle of the same size).
Dependencies are unknown. Developed on AGS 3.5.0
Detailed illustrations and descriptions are in the topic at the link
https://www.adventuregamestudio.co.uk/forums/advanced-technical-forum/lighting-using-normal-maps-in-ags/
Link to download the module and documentation
https://drive.google.com/file/d/1i7WvG6CPXqTazKULn67LCZrXpL3L1FMn/view?usp=sharing
Demo
https://drive.google.com/file/d/1npNU6j9e5H0rqn1_RDcbG2vDDdkhL50n/view?usp=sharing
It also contains a function for "fast" lighting without using normal maps.
The room for the background of which the module is applied must have a background of the same size as the sprites which contains the information about pixels (for example the background can be the sprite itself containing the Color map or a black rectangle of the same size).
Dependencies are unknown. Developed on AGS 3.5.0
Detailed illustrations and descriptions are in the topic at the link
https://www.adventuregamestudio.co.uk/forums/advanced-technical-forum/lighting-using-normal-maps-in-ags/
Link to download the module and documentation
https://drive.google.com/file/d/1i7WvG6CPXqTazKULn67LCZrXpL3L1FMn/view?usp=sharing
Demo
https://drive.google.com/file/d/1npNU6j9e5H0rqn1_RDcbG2vDDdkhL50n/view?usp=sharing