skybox_tex = gfx_create_texture();
skybox_tex->load("data/cubemap/cubemap.hdr");
+ // skybox_tex->load("data/cubemap/irradiance.hdr");
terrain_rend->set_sky_tex(skybox_tex);
if(!terrain_rend->create()) {
cow_pos.y = terrain.get_height(cow_pos);
cow_object->transform.translation(cow_pos);
+ cow_rend->fog_density = fog_density;
cow_rend->draw();
}
\ No newline at end of file