projects
/
clouds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some typo fixes
[clouds.git]
/
billboardfrag.glsl
diff --git
a/billboardfrag.glsl
b/billboardfrag.glsl
index 39fd71d135d1d36fb9fe820fc9eef3a79082e9cc..b4cfd511464569ea23c577cda41a5b261c7ba288 100644
(file)
--- a/
billboardfrag.glsl
+++ b/
billboardfrag.glsl
@@
-25,7
+25,9
@@
void main() {
// GL_MODULATE: C
// C = Cf * Ct
// A = Af * At
// GL_MODULATE: C
// C = Cf * Ct
// A = Af * At
- FragColor = color * (f + 0.03); // the +0.03 is a hack to get lighter clouds!
+ // the +0.06 is a hack to get lighter clouds!
+ // can be thought of as ambient light
+ FragColor = color * (f + 0.02);
} else {
// "That is, the colors in the frame buffer are multiplied by the
// attenuation ratio of the billboard texture and then the colors in
} else {
// "That is, the colors in the frame buffer are multiplied by the
// attenuation ratio of the billboard texture and then the colors in