GeeXLab
Current version: 0.20.x
»GeeXLab homepage

FurMark
Current version: 1.20.0
»FurMark homepage
»FurMark 1.9.x Submissions

GPU Caps Viewer
Current version: 1.38.0.0
»GPU Caps Viewer homepage
»GPU DB Submissions

GPU Shark
Current version: 0.10.0.5
»GPU Shark homepage


Blogs
»JeGX's HackLab

Geeks3D's Articles
»GPU Memory Speed Demystified

»Multi-Threading Programming Resources

»GeForce and Radeon OpenCL Overview

»How to Get your Multi-core CPU Busy at 100%

»How To Make a VGA Dummy Plug

»Night Vision Post Processing Filter


PhysX FluidMark
Current version: 1.5.2
»FluidMark homepage
»FluidMark 1.4.x Submissions

TessMark
Current version: 0.3.0
»TessMark homepage

ShaderToyMark
Current version: 0.3.0
»ShaderToyMark homepage
»ShaderToyMark Scores

Demoniak3D
Current Version: 1.23.0
»Demoniak3D
»Download
»Libraries and Plugins
»Demos
»Online Help - Reference Guide
»Codes Samples

3D Graphics Search Engine:

The Geeks Of 3D

 
oZone3D.Net - Demoniak3D Developer Guide


» Back To Index

Demoniak3D/LUA API: lens flares library

The HYP_LensFlares mamages the lens flares system.
HYP_LensFlares.Init
HYP_LensFlares.Deinit
HYP_LensFlares.AddFlare
HYP_LensFlares.AddFlaresSource
HYP_LensFlares.SetIntensityFactor

Init

Init allows to init the lens flares system.
Syntax
HYP_LensFlares.Init();

Deinit

Deinit allows to stop lens flares system.
Syntax
HYP_LensFlares.Deinit();

AddFlare

AddFlare allows to add a flare.
Syntax
HYP_LensFlares.AddFlare( texture_name|tid, size, position, r, g, b, a);
  • texture_name - [STR127] - name of the flare's texture.
  • tid - [INTEGER] - identifier of the flare's texture.
  • size - [REAL] - flare size factor.
  • position - [REAL] - flare relative position. 0.0 sets the flare at the screen center, -1.0 sets the flare on the light source.
  • r, g, b, a - [REAL] - flare's color.

AddFlaresSource

AddFlaresSource allows to add a light source for flares generation.
Syntax
HYP_LensFlares.AddFlaresSource( name|tid);
  • name - [STR127] - light source name.
  • tid - [INTEGER] - light source identifier.

SetIntensityFactor

SetIntensityFactor allows to set the flares's intensity factor. Usually, this factor is set to screenWidth/2.
Syntax
HYP_LensFlares.SetIntensityFactor( factor );
  • factor - [REAL] - intensity factor


GeeXLab demos


GLSL - Mesh exploder


PhysX 3 cloth demo


Normal visualizer with GS


Compute Shaders test on Radeon


Raymarching in GLSL



Geeks3D latest news


Geeks3D forum news


Misc
»Texture DataPack #1
»Asus Silent Knight CPU Cooler
Page generated in 0.0067448616027832 seconds.