Project

General

Profile

Actions

Feature #318

closed

Automatic light attenuation calculation option

Added by Anonymous about 13 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
OS3D_Ergonomy
Target version:
Start date:
03/14/2011
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

A checkbox in the light dialog box to automatically calculate light attenuation from light range should be useful for those who don't know the standard light attenuation formula:
L->setAttenuation(Range, 1.0f, 4.5/Range, 75.0f/(Range*Range));
/Range/const/ linear / quadratic /

This is a good and common approximation.

Actions

Also available in: Atom PDF