Home
Home
Register
Login

Resources
Forum






rssdr_renderTarget (dr_rendertarget)

Category:script
Author:Ren712
Downloads:92
Rate:You need to be logged in to vote
Rating:3 (2 Votes)
Description:
Resource: dr_rendertarget v0.0.9
Author: Ren712

Description:
This resource provides render targets for deferred lighting resources
and some exported functions for it's management.
The purpose of this resource is to give an efficient alternative to
dynamic lighting resource and introduce deferred rendering
approach. Light (or any other effect) is produced after world is rendered
based on information (scene depth, world normals, texture color) generated before.

Exported functions:
RTColor, RTDepth, RTNormal = getRenderTargets()
fadeEnd, fadeStart = getShaderDistanceFade()
applyNormalMappingToTextureList(texList) -- provided normal maps in second texture state
applyNormalMappingToTexture(texName)
applyNormalMappingToObject(myObject)

More detailed description is presented here:
https://gamedevelopment.tutsplus.com/articles/forward-rend..edev-12342

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

(more)

Comments (1) | Download latest version | Report

Version history

Version Publish Date Changes
0.0.9 2019-04-06 18:11:09 -fixed windscreen texture culling (GTASA bug) -added vehicle reflection maps Download
0.0.8 2019-04-02 21:21:57 -some optimizations
-added grass effect influence
Download
0.0.7 2019-03-31 22:17:36 -disabled testing preview Download
0.0.6 2019-03-31 21:53:30 -disabled ZWriting for windshields
-readjusted the projective texture coordinates
Download
0.0.5 2019-03-26 22:32:56 First public release Download