Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
CGoGN
CGoGN
Commits
00a97596
Commit
00a97596
authored
Oct 26, 2012
by
Sylvain Thery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrong direction ofr vector LightDir in shaderEnvMap.vert
parent
6f62f64d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/Utils/Shaders/shaderEnvMap.vert
include/Utils/Shaders/shaderEnvMap.vert
+1
-1
No files found.
include/Utils/Shaders/shaderEnvMap.vert
View file @
00a97596
...
...
@@ -24,7 +24,7 @@ void main ()
{
Normal
=
vec3
(
NormalMatrix
*
vec4
(
VertexNormal
,
0
.
0
));
vec3
Position
=
vec3
(
ModelViewMatrix
*
vec4
(
VertexPosition
,
1
.
0
));
LightDir
=
Position
-
light
Position
;
LightDir
=
light
Position
-
Position
;
#ifdef WITH_EYEPOSITION
EyeVector
=
eyePosition
-
Position
;
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment