Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
9e8e6231
Commit
9e8e6231
authored
4 years ago
by
Dave Houlton
Committed by
Ptolemy
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
SL-10449, add missing linkage variable, fix OSX & Intel deferred shaders comp
parent
0b717e2d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/app_settings/shaders/class1/objects/fullbrightShinySkinnedV.glsl
+4
-0
4 additions, 0 deletions
...tings/shaders/class1/objects/fullbrightShinySkinnedV.glsl
with
4 additions
and
0 deletions
indra/newview/app_settings/shaders/class1/objects/fullbrightShinySkinnedV.glsl
+
4
−
0
View file @
9e8e6231
...
...
@@ -35,6 +35,7 @@ ATTRIBUTE vec2 texcoord0;
VARYING
vec4
vertex_color
;
VARYING
vec2
vary_texcoord0
;
VARYING
vec3
vary_texcoord1
;
VARYING
vec4
vary_position
;
void
calcAtmospherics
(
vec3
inPositionEye
);
...
...
@@ -46,6 +47,9 @@ void main()
mat
=
modelview_matrix
*
mat
;
vec3
pos
=
(
mat
*
vec4
(
position
.
xyz
,
1
.
0
)).
xyz
;
mat4
mvp
=
modelview_matrix
*
projection_matrix
;
vary_position
=
mvp
*
vec4
(
position
,
1
.
0
);
vec4
norm
=
vec4
(
position
.
xyz
,
1
.
0
);
norm
.
xyz
+=
normal
.
xyz
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment