From cd17687f01420952712a500107e0f93e7ab8d5f8 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:34 -0500 Subject: Second Life viewer sources 1.19.1.0 --- .../shaders/class2/lighting/lightSpecularV.glsl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 linden/indra/newview/app_settings/shaders/class2/lighting/lightSpecularV.glsl (limited to 'linden/indra/newview/app_settings/shaders/class2/lighting/lightSpecularV.glsl') diff --git a/linden/indra/newview/app_settings/shaders/class2/lighting/lightSpecularV.glsl b/linden/indra/newview/app_settings/shaders/class2/lighting/lightSpecularV.glsl new file mode 100644 index 0000000..c3384ff --- /dev/null +++ b/linden/indra/newview/app_settings/shaders/class2/lighting/lightSpecularV.glsl @@ -0,0 +1,16 @@ +/** + * @file lightSpecularV.glsl + * + * Copyright (c) 2007-$CurrentYear$, Linden Research, Inc. + * $License$ + */ + +// All lights, no specular highlights + +vec4 sumLightsSpecular(vec3 pos, vec3 norm, vec4 color, inout vec4 specularColor, vec4 baseCol); + +vec4 calcLightingSpecular(vec3 pos, vec3 norm, vec4 color, inout vec4 specularColor, vec4 baseCol) +{ + return sumLightsSpecular(pos, norm, color, specularColor, baseCol); +} + -- cgit v1.1