overte-HifiExperiments/interface
Kai Ludwig 51965fd283 changed
float specular = max(0.0, dot(normalize(gl_LightSource[0].position + vec4(0.0, 0.0, 1.0, 0.0)), normalizedNormal));
to
    float specular = max(0.0, dot(gl_LightSource[0].position, normalizedNormal));

Calculation for specular value has to be done like in all other shaders with the unmodified unnormalized lightsource position. Otherwise the specular effect will have weird behaviour.
2014-05-16 15:44:07 +02:00
..
external Better instructions. 2014-05-12 17:55:07 -07:00
resources changed 2014-05-16 15:44:07 +02:00
src Merge pull request #2864 from Atlante45/fix_jittery_overlays 2014-05-15 17:32:33 -07:00
ui Merge branch 'master' of https://github.com/worklist/hifi into 19507 2014-05-12 19:42:44 +02:00
CMakeLists.txt Merge pull request #2856 from ZappoMan/modelserver 2014-05-14 15:03:49 -07:00
interface.icns
interface_en.ts Merge branch master 2014-04-24 18:52:59 +05:30
InterfaceConfig.h.in missed copyright cleanups in apache header 2014-04-09 09:44:38 -07:00
InterfaceVersion.h.in missed copyright cleanups in apache header 2014-04-09 09:44:38 -07:00