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
ae0aed29
Commit
ae0aed29
authored
4 years ago
by
Rye Mutt
Browse files
Options
Downloads
Patches
Plain Diff
Forgot a file in light gamma fixes
parent
d5474c8a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
+0
-4
0 additions, 4 deletions
...view/app_settings/shaders/class1/deferred/spotLightF.glsl
with
0 additions
and
4 deletions
indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
+
0
−
4
View file @
ae0aed29
...
@@ -38,9 +38,6 @@ out vec4 frag_color;
...
@@ -38,9 +38,6 @@ out vec4 frag_color;
uniform
sampler2DRect
diffuseRect
;
uniform
sampler2DRect
diffuseRect
;
uniform
sampler2DRect
specularRect
;
uniform
sampler2DRect
specularRect
;
uniform
sampler2DRect
depthMap
;
uniform
sampler2DRect
normalMap
;
uniform
samplerCube
environmentMap
;
uniform
sampler2D
noiseMap
;
uniform
sampler2D
noiseMap
;
uniform
sampler2D
projectionMap
;
uniform
sampler2D
projectionMap
;
uniform
sampler2D
lightFunc
;
uniform
sampler2D
lightFunc
;
...
@@ -176,7 +173,6 @@ void main()
...
@@ -176,7 +173,6 @@ void main()
vec3
diff_tex
=
texture2DRect
(
diffuseRect
,
frag
.
xy
).
rgb
;
vec3
diff_tex
=
texture2DRect
(
diffuseRect
,
frag
.
xy
).
rgb
;
//light shaders output linear and are gamma corrected later in postDeferredGammaCorrectF.glsl
//light shaders output linear and are gamma corrected later in postDeferredGammaCorrectF.glsl
diff_tex
.
rgb
=
srgb_to_linear
(
diff_tex
.
rgb
);
vec4
spec
=
texture2DRect
(
specularRect
,
frag
.
xy
);
vec4
spec
=
texture2DRect
(
specularRect
,
frag
.
xy
);
...
...
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