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
874368d4
Commit
874368d4
authored
5 years ago
by
Michael Pohoreski (Ptolemy Linden)
Browse files
Options
Downloads
Patches
Plain Diff
Future-proof Full Bright
parent
581a8e27
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/deferred/materialF.glsl
+2
-2
2 additions, 2 deletions
...wview/app_settings/shaders/class1/deferred/materialF.glsl
with
2 additions
and
2 deletions
indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
+
2
−
2
View file @
874368d4
...
@@ -277,7 +277,7 @@ void main()
...
@@ -277,7 +277,7 @@ void main()
final_color
.
a
=
max
(
final_color
.
a
,
emissive_brightness
);
final_color
.
a
=
max
(
final_color
.
a
,
emissive_brightness
);
// Texture
// Texture
// [x] Full Bright (emissive_brightness >
0
.0)
// [x] Full Bright (emissive_brightness >
= 1
.0)
// Shininess (specular)
// Shininess (specular)
// [X] Texture
// [X] Texture
// Environment Intensity = 1
// Environment Intensity = 1
...
@@ -295,7 +295,7 @@ void main()
...
@@ -295,7 +295,7 @@ void main()
vec4
final_normal
=
vec4
(
abnormal
,
env_intensity
,
0
.
0
);
vec4
final_normal
=
vec4
(
abnormal
,
env_intensity
,
0
.
0
);
#ifdef HAS_SPECULAR_MAP
#ifdef HAS_SPECULAR_MAP
if
(
emissive_brightness
>
0
.
0
)
if
(
emissive_brightness
>
=
1
.
0
)
{
{
float
ei
=
env_intensity
*
0
.
5
+
0
.
5
;
float
ei
=
env_intensity
*
0
.
5
+
0
.
5
;
final_normal
=
vec4
(
abnormal
,
ei
,
0
.
0
);
final_normal
=
vec4
(
abnormal
,
ei
,
0
.
0
);
...
...
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