Skip to content

Commit

Permalink
Small fix for High Quality Lighting
Browse files Browse the repository at this point in the history
I did a small fix for High Quality Lighting. Now it will be possible to use Viewport's Ambient Occlusion with Matcaps.
Here is my previous report:
sideeffects/GameDevelopmentToolset#162
  • Loading branch information
mifth authored Apr 17, 2020
1 parent 22ec058 commit d33b78d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ void main()

vec4 wire = HOUwireColor(fsIn.edgedist,fsIn.edgeflags,fsIn.selected);

HOUassignOutputs(vec3(0),
HOUassignOutputs(vec3(1),
tex.rgb,
vec3(0),
vec3(0),
Expand All @@ -178,7 +178,7 @@ void main()
0.0,
0.0,
wire,
vec3(0),
nN,
0,
fsIn.selected,
specular_model, coat_spec_model);
Expand Down

0 comments on commit d33b78d

Please sign in to comment.