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
b4987c5f
Commit
b4987c5f
authored
5 years ago
by
Dave Houlton
Browse files
Options
Downloads
Plain Diff
Sync latest from DRTVWR-440
parents
b3e11083
874368d4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
+8
-5
8 additions, 5 deletions
...wview/app_settings/shaders/class1/deferred/materialF.glsl
with
8 additions
and
5 deletions
indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
+
8
−
5
View file @
b4987c5f
...
...
@@ -277,7 +277,7 @@ void main()
final_color
.
a
=
max
(
final_color
.
a
,
emissive_brightness
);
// Texture
// [x] Full Bright
Object
// [x] Full Bright
(emissive_brightness >= 1.0)
// Shininess (specular)
// [X] Texture
// Environment Intensity = 1
...
...
@@ -292,11 +292,14 @@ void main()
// We remap the environment intensity to closely simulate what non-EEP is doing.
// At midnight the brightness is exact.
// At midday the brightness is very close.
#ifdef HAS_SKIN
vec4
final_normal
=
vec4
(
abnormal
,
env_intensity
,
0
.
0
);
#else
#ifdef HAS_SPECULAR_MAP
if
(
emissive_brightness
>=
1
.
0
)
{
float
ei
=
env_intensity
*
0
.
5
+
0
.
5
;
vec4
final_normal
=
vec4
(
abnormal
,
ei
,
0
.
0
);
final_normal
=
vec4
(
abnormal
,
ei
,
0
.
0
);
}
#endif
vec4
final_specular
=
spec
;
...
...
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