Commit Graph
6 Commits
Author SHA1 Message Date
Jacob Støren 0eace5579a #168 Fixed shader based light in parallel projection
Added the light position as a uniform in the standard light model shader snippet in the effect generator.
Set the uniform default value on the shader program where ever it is used.
Added an override global uniform set on the viewer to control the light position, and to set it far behind camera when in parallel projection.
2016-08-16 10:58:07 +02:00
Magne Sjaastad 0405584bb6 System : Replaced tab with four spaces in ApplicationCode and subfolders 2015-10-23 15:46:25 +02:00
Stein Dale 5e93b8ca1f Added option for disabling lighting (#311) 2015-06-18 12:23:26 +02:00
Magne Sjaastad 2d36af4f06 Updated file header for new files 2014-09-24 07:14:52 +02:00
Magne Sjaastad c67b75e992 Fixed transparency for ternary well cells 2014-08-14 10:56:39 +02:00
Magne Sjaastad 1b69f93a11 Added ternary scalar mapper effect generator 2014-08-14 10:56:38 +02:00