Jump to page content
English English  Polish Polish  Dutch Dutch  Russian Russian  German German  Hungarian Hungarian  Norwegian Norwegian  Swedish Swedish  Finnish Finnish  Romanian Romanian  Spanish Spanish  Portuguese Portuguese  Latvian Latvian 


rssimage3DLight_ssnm (image3dlight_ssnm)

Rate:You need to be logged in to vote
Rating:3.3 (3 Votes)
Resource: image3DLight_ssnm v0.1.5
Author: Ren712

This resource doesn't provide any entity/light sorting, exported functions,
entity limit. It provides classes that can be used in other resources.
Number keys 1 to 0 allow you to create selected entities for testing purposes.

This resource adds an ability to create simple light sources.
The purpose of this resource is to give an efficient alternative to
other lighting resources trying to find a compromise between quick,
but lacking in quality or complete but resource heavy or conflicting otherwise.
Light (or any other effect) is produced after world is rendered
based on information (scene depth, screen source) generated before.
Unlike as it was in image3DLightBasic resources, normals are smoothen
and slight screen space normal mapping effect (based on screensource) is applied.

More detailed description is presented here:

The outcome is drawn transformed and tessellated image2material3D.
You can add virtually limitless number of lights.

CImgLightDirectional - Creates a global directional light
CImgLightPoint - Creates a point light.
CImgLightPointNoNRM - Same as above but no normal shading
CImgLightSpot - Creates a spot light.
CImgLightSpotNoNRM - Same as above but no normal shading
CImgLightSpecular - Creates a specular light.
CImgLightDark - Creates an inverted color point light
CImgLightDarkNoNRM - Same as above but no normal shading
CImgTexture - Creates a 2D quad
CImgTextureNoDB - Creates a 2D quad (basic method)
CImgTextureProj - Creates a projected 2D texture
CImgTextureProj2 - Creates a projected 2D texture type2
CImgTextureProjNoDB - Creates a projected 2D texture (basic method)
CImgTextureProjNoNRM - Same as above but no normal shading
CImgTextureProjCone - Creates a projected 2D texture (perspective projection)
CImgTextureProjCone2 - Creates a projected 2D texture type2 (perspective projection)
CImgTextureProjConeNoDB - Creates a projected 2D texture (basic method)
CImgTextureProjConeNoNRM - Same as above but no normal shading
CImgTextureProjCube - Creates a projected cube texture
CImgTextureProjCubeNoNRM - Same as above but no normal shading

Shader model 3.0 GFX, readable depth buffer in PS access.

test.lua lets you create lights in front of the camera view.


Download latest version | Report

Version history

Version Publish Date Changes
0.1.5 2021-02-09 23:10:16 -added light clearing option
-fixed a spotlight bug introduced in the last version
0.1.4 2021-01-26 07:35:59 -changed depth bias for billboards Download
0.1.3 2020-08-04 16:05:03 First public release Download