Torque3D/Templates/Full
Azaezel 5ed06fff9d Script:
by and large, Opengl branch compatibility alterations, though do again note the inclusion of
   sampler["lightBuffer"] = "#lightinfo";
   sampler["colorBuffer"] = "#color";
   sampler["matInfoBuffer"] = "#matinfo";

and
   samplerNames[5] = "$lightBuffer";
   samplerNames[6] = "$colorBuffer";
   samplerNames[7] = "$matInfoBuffer";
entries. This is where the engine knows to pass along a given rendertarget for input into a predefined shader, as opposed to the prior phase's output to targets within procedural ones.

Shader:
the XXXLight.hlsl/glsls account for alterations in inputs, check for emissive and translucency, apply Felix's Normal Mapped Ambient. and pass the results along to  AL_DeferredOutput for final computation before returning the result.
the lighting.hlsl/.glsl consissts of removal of the overridden engine-specific phong specular variant, and defines the  AL_DeferredOutput  method, which equates to the previously used pixspecular feature defined along the lines of
http://books.google.com/books?id=GY-AAwAAQBAJ&pg=PA112&lpg=PA112&dq=blinn+phong+specular+gloss+hlsl&source=bl&ots=q9SKJkmWHB&sig=uLIHX10Zul0X0LL2ehSMq7IFBIM&hl=en&sa=X&ei=DbcsVPeWEdW1yASDy4LYDw&ved=0CB4Q6AEwAA#v=onepage&q=gloss%20&f=false

also includes visualizers

Long term impact: This area, along with the \game\shaders\common\lighting\advanced\lightingUtils.hlsl/.glsl pair will be where we plug in properly attenuated Cook-Torrence later, presuming the impact is not to hefty.
2016-02-16 02:29:54 -06:00
..
buildFiles Add VS2012 support. Missing files 2015-03-14 22:46:15 +01:00
game Script: 2016-02-16 02:29:54 -06:00
source Fix torqueConfig.h TORQUE_FRAME_SIZE. 2015-01-31 19:34:14 +01:00
web/source Full Template for ticket #1 2012-09-19 11:54:25 -04:00
cleanShaders.bat Full Template for ticket #1 2012-09-19 11:54:25 -04:00
cleanShaders.command All *.command files should have 'executable bit' set on. 2012-09-23 15:31:45 +04:00
DeleteCachedDTSs.bat Full Template for ticket #1 2012-09-19 11:54:25 -04:00
DeleteCachedDTSs.command All *.command files should have 'executable bit' set on. 2012-09-23 15:31:45 +04:00
DeleteDSOs.bat Full Template for ticket #1 2012-09-19 11:54:25 -04:00
DeleteDSOs.command All *.command files should have 'executable bit' set on. 2012-09-23 15:31:45 +04:00
DeletePrefs.bat Full Template for ticket #1 2012-09-19 11:54:25 -04:00
DeletePrefs.command All *.command files should have 'executable bit' set on. 2012-09-23 15:31:45 +04:00
generateProjects.bat Full Template for ticket #1 2012-09-19 11:54:25 -04:00
generateProjects.command All *.command files should have 'executable bit' set on. 2012-09-23 15:31:45 +04:00
thumb.png Full Template for ticket #1 2012-09-19 11:54:25 -04:00