Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Issue 2323383002: made point lights linear attenuation; also fixed point light depth bug (Closed)

Created:
4 years, 3 months ago by vjiaoblack
Modified:
4 years, 3 months ago
Reviewers:
jvanverth1
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

made point lights linear attenuation; also fixed point light depth bug BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2323383002 Committed: https://skia.googlesource.com/skia/+/95315f0d6f77aef3700f604346f4e2558390e6f8

Patch Set 1 #

Total comments: 4

Patch Set 2 : added comments! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M samplecode/SampleShadowing.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkRadialShadowMapShader.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/core/SkShadowShader.cpp View 1 4 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
vjiaoblack
I know this is really 2 tiny CL's, but they were so tiny! Could you ...
4 years, 3 months ago (2016-09-09 17:23:31 UTC) #3
jvanverth1
https://codereview.chromium.org/2323383002/diff/1/src/core/SkRadialShadowMapShader.cpp File src/core/SkRadialShadowMapShader.cpp (right): https://codereview.chromium.org/2323383002/diff/1/src/core/SkRadialShadowMapShader.cpp#newcode145 src/core/SkRadialShadowMapShader.cpp:145: fragBuilder->codeAppend("float closestDistHere = 2;"); Why 2? https://codereview.chromium.org/2323383002/diff/1/src/core/SkShadowShader.cpp File src/core/SkShadowShader.cpp ...
4 years, 3 months ago (2016-09-09 18:18:33 UTC) #4
vjiaoblack
Basically, it's the depth of the shadow map, i think in the units of the ...
4 years, 3 months ago (2016-09-09 18:24:36 UTC) #5
jvanverth1
lgtm
4 years, 3 months ago (2016-09-09 18:28:26 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2323383002/20001
4 years, 3 months ago (2016-09-09 18:28:54 UTC) #8
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 18:58:21 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/95315f0d6f77aef3700f604346f4e2558390e6f8

Powered by Google App Engine
This is Rietveld 408576698