X-Git-Url: https://git.lukelau.me/?p=clouds.git;a=blobdiff_plain;f=billboardfrag.glsl;fp=billboardfrag.glsl;h=94d15dcb2f1e477e90ed7cba724dedfcc4f49308;hp=2349e4dfef4610558042a9f6b8315e1ac217800a;hb=c80f817e984fbabbadef14fc11bf0fa7385bc89b;hpb=31f19438c73b207f506ba0b1187d2de75c166a5b diff --git a/billboardfrag.glsl b/billboardfrag.glsl index 2349e4d..94d15dc 100644 --- a/billboardfrag.glsl +++ b/billboardfrag.glsl @@ -6,7 +6,7 @@ out vec4 FragColor; uniform bool modulate; void main() { // Cf = color from fragment, Ct = color from texture - // Cc = color from texture environment(?) assume to be 0? + // Cc = color from texture environment -- not set, defaults to (0,0,0,0) // Af = alpha from fragment, At = alpha from texture // C = output color, A = output alpha float f = texture(tex, texCoord).r;