Commit 5c6266aa authored by blackle's avatar blackle
Browse files

Fiddle with contrast

parent f6fe7818
......@@ -46,7 +46,7 @@ main : main.c shader.h Makefile
main_packed : main ../packer/header Makefile
gzip --no-name -9 -c main | wc -c
zopfli --gzip --i100000 -c main > main.gz
zopfli --gzip --i1000 -c main > main.gz
wc -c main.gz
cat ../packer/header main.gz > main_packed
chmod +x main_packed
......
......@@ -160,7 +160,7 @@ void _start() {
}
};
cairoCtx->backend->set_source_rgba(cairoCtx, 1.0, 1.0, 1.0, 1.0);
cairoCtx->backend->set_source_rgba(cairoCtx, 0.5, 0.5, 0.5, 1.0);
for (int i = 0; i < 8; i++) {
// printf("%f, %f, %s\n", texts[i].origin_x, texts[i].origin_y, texts[i].text);
cairo_select_font_face(cairoCtx, texts[i].font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
......
......@@ -262,5 +262,5 @@ void main() {
ray.m_color *= 1.0 - pow(distance(uv, vec2(0.0))*0.85, 3.0);
fragColor = vec4(pow(log(ray.m_color+1)*0.14, vec3(1.2)), 1.0);
fragColor = vec4(pow(log(ray.m_color+1)*0.16, vec3(1.3)), 1.0);
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment