Home
Home
Register
Login

Resources
Forum






rssimage3DLightBasic (image3dlightbasic)

Category:script
Author:Ren712
Downloads:76
Rate:You need to be logged in to vote
Rating:5 (2 Votes)
Description:
Resource: image3DLight Basic v0.0.4
Author: Ren712

This resource adds an ability to create simple light sources.
The purpose of this resource is to give an efficient alternative to
dynamic lighting resource and prepare for new deferred rendering
approach. Instead of applying shaders to world textures, I have decided
to recreate needed information from scene depth to apply effect post world
(drawn on transformed and tessellated image2material3D).
You can add virtually limitless number of lights. In order to work the effects
require shader model 3 GFX with readable depth buffer support.

Effects:
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
CImgTextureProj - Creates a projected 2D texture
CImgTextureProjNoDB - Creates a projected 2D texture (basic method)
CImgTextureProjNoNRM - Same as above but no normal shading
CImgTextureProjCone - Creates a projected 2D texture (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 - Creates a projected cube texture

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

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

(more)

Comments (1) | Download latest version | Report

Version history

Version Publish Date Changes
0.0.4 2017-10-20 20:05:07 -added CImgTextureProjCone, CImgTextureProjConeNoDB, CImgTextureProjConeNoNRM Download
0.0.3 2017-10-15 20:44:28 First public release Download