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

Unified Diff: samplecode/SampleShadowing.cpp

Issue 2323383002: made point lights linear attenuation; also fixed point light depth bug (Closed)
Patch Set: added comments! Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkRadialShadowMapShader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleShadowing.cpp
diff --git a/samplecode/SampleShadowing.cpp b/samplecode/SampleShadowing.cpp
index c20204c29bc4ec590776e11aed9669a1b00ad503..929d62ba7ef3e62db71c726dc4f0dab9a8cfc035 100644
--- a/samplecode/SampleShadowing.cpp
+++ b/samplecode/SampleShadowing.cpp
@@ -166,7 +166,7 @@ protected:
SkVector3::Make(x,
kHeight - y,
fLightDepth),
- 100000, true));
+ 400, true));
fLights = builder.finish();
}
« no previous file with comments | « no previous file | src/core/SkRadialShadowMapShader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698