Home
last modified time | relevance | path

Searched refs:light_map (Results 1 – 18 of 18) sorted by relevance

/dports/games/openclonk/openclonk-release-8.1-src/src/landscape/fow/
H A DC4FoWAmbient.cpp26 double AmbientForPix(int x0, int y0, double R, const LightMap& light_map) in AmbientForPix() argument
40 if(light_map(x0 + x, y0 + y)) d += 1. / l; in AmbientForPix()
41 if(light_map(x0 + x, y0 - y)) d += 1. / l; in AmbientForPix()
42 if(light_map(x0 - x, y0 - y)) d += 1. / l; in AmbientForPix()
43 if(light_map(x0 - x, y0 + y)) d += 1. / l; in AmbientForPix()
48 if(light_map(x0 + y, y0)) d += 1. / l; in AmbientForPix()
49 if(light_map(x0 - y, y0)) d += 1. / l; in AmbientForPix()
50 if(light_map(x0, y0 + y)) d += 1. / l; in AmbientForPix()
51 if(light_map(x0, y0 - y)) d += 1. / l; in AmbientForPix()
55 if(light_map(x0, y0)) d += 2 * sqrt(M_PI); // int_0^2pi int_0^1/sqrt(pi) 1/r dr r dphi in AmbientForPix()
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/
H A Dfireworkx.c88 float *light_map; member
150 st->light_map[v] = f; in render_light_map()
526 r = rgb[0] * st->light_map[v] + rgb[4] * st->light_map[v+1] in chromo_2x2_light()
527 + rgb[ 8] * st->light_map[v+2] + rgb[12] * st->light_map[v+3]; in chromo_2x2_light()
528 g = rgb[1] * st->light_map[v] + rgb[5] * st->light_map[v+1] in chromo_2x2_light()
529 + rgb[ 9] * st->light_map[v+2] + rgb[13] * st->light_map[v+3]; in chromo_2x2_light()
530 b = rgb[2] * st->light_map[v] + rgb[6] * st->light_map[v+1] in chromo_2x2_light()
531 + rgb[10] * st->light_map[v+2] + rgb[14] * st->light_map[v+3]; in chromo_2x2_light()
607 if (st->light_map) free(st->light_map); in resize()
709 st->light_map = NULL; in fireworkx_init()
[all …]
/dports/graphics/blender/blender-2.91.0/intern/cycles/blender/
H A Dblender_light.cpp42 if (!light_map.add_or_update(&light, b_ob, b_parent, key)) { in sync_light()
179 if (light_map.add_or_update(&light, b_world, b_world, key) || world_recalc || in sync_background_light()
202 light_map.set_recalc(b_world); in sync_background_light()
H A Dblender_object.cpp339 light_map.pre_sync(); in sync_objects()
408 light_map.post_sync(); in sync_objects()
H A Dblender_sync.cpp62 light_map(scene), in BlenderSync()
186 light_map.set_recalc(b_ob); in sync_recalc()
190 light_map.set_recalc(b_ob); in sync_recalc()
H A Dblender_sync.h222 id_map<ObjectKey, Light> light_map; variable
/dports/games/simutrans/simutrans-121.0/descriptor/
H A Dground_desc.cc348 static const ground_desc_t* light_map = NULL; variable
363 { &light_map, "LightTexture" },
471 if( light_map->get_image_ptr(imgindex) == NULL ) { in init_ground_textures()
846 …final_tile = create_textured_tile( light_map->get_image_ptr( slope ), water_stage_texture[stage], … in init_ground_textures()
863 …final_tile = create_textured_tile( light_map->get_image_ptr( slope ), boden_texture->get_image_ptr… in init_ground_textures()
873 …final_tile = create_textured_tile( light_map->get_image_ptr( slope ), boden_texture->get_image_ptr… in init_ground_textures()
882 …final_tile = create_alpha_tile( light_map->get_image_ptr( slope ), dslope, all_rotations_slope[dsl… in init_ground_textures()
900 …final_tile = create_alpha_tile( light_map->get_image_ptr( slope ), dslope, all_rotations_slope[dou… in init_ground_textures()
905 …final_tile = create_alpha_tile( light_map->get_image_ptr( slope ), dslope, all_rotations_beach[dou… in init_ground_textures()
/dports/devel/libgee/libgee-0.20.3/gee/
H A Dfuture.vala129 * @see light_map
168 public virtual Future<A> light_map<A> (owned LightMapFunc<A, G> func) {
172 [CCode (ordering = 4, cname = "gee_future_light_map", vfunc_name = "light_map")]
174 return light_map<A> (func);
H A Dfuture.c89 …GeeFuture* (*light_map) (GeeFuture* self, GType a_type, GBoxedCopyFunc a_dup_func, GDestroyNotify … member
716 …return GEE_FUTURE_GET_INTERFACE (self)->light_map (self, a_type, a_dup_func, a_destroy_func, func,… in gee_future_light_map()
1463 iface->light_map = gee_future_real_light_map_broken; in gee_future_default_init()
H A Dtask.c79 …GeeFuture* (*light_map) (GeeFuture* self, GType a_type, GBoxedCopyFunc a_dup_func, GDestroyNotify … member
H A Dlightmapfuture.c83 …GeeFuture* (*light_map) (GeeFuture* self, GType a_type, GBoxedCopyFunc a_dup_func, GDestroyNotify … member
H A Dgee-0.8.vapi588 public virtual Gee.Future<A> light_map<A> (owned Gee.Future.LightMapFunc<A,G> func);
589 [CCode (cname = "gee_future_light_map", ordering = 4, vfunc_name = "light_map")]
H A Dlazy.c129 …GeeFuture* (*light_map) (GeeFuture* self, GType a_type, GBoxedCopyFunc a_dup_func, GDestroyNotify … member
H A Dpromise.c129 …GeeFuture* (*light_map) (GeeFuture* self, GType a_type, GBoxedCopyFunc a_dup_func, GDestroyNotify … member
H A Dgee.h1241 …GeeFuture* (*light_map) (GeeFuture* self, GType a_type, GBoxedCopyFunc a_dup_func, GDestroyNotify … member
/dports/games/flightgear-data/fgdata/Shaders/
H A Dreflect.frag33 uniform int light_map;
131 if ( light_map >= 1 ) {
/dports/games/craft/Craft-1.0fbsd/src/
H A Dmain.c1180 Map *light_map = item->light_maps[1][1]; in load_chunk() local
1183 db_load_lights(light_map, p, q); in load_chunk()
1203 Map *light_map = &chunk->lights; in init_chunk() local
1208 map_alloc(light_map, dx, dy, dz, 0xf); in init_chunk()
1278 Map *light_map = item->light_maps[1][1]; in check_workers() local
1282 map_copy(&chunk->lights, light_map); in check_workers()
1295 if (light_map) { in check_workers()
1296 map_free(light_map); in check_workers()
1297 free(light_map); in check_workers()
1402 Map *light_map = malloc(sizeof(Map)); in ensure_chunks_worker() local
[all …]
/dports/devel/allegro/allegro-4.4.3.1/tests/
H A Dtest.c96 COLOR_MAP *light_map = NULL; variable
186 else if ((!rgb_map) || (!trans_map) || (!light_map)) { in check_tables()
197 if (!light_map) { in check_tables()
198 light_map = malloc(sizeof(COLOR_MAP)); in check_tables()
199 create_light_table(light_map, mypal, 0, 0, 0, NULL); in check_tables()
2825 color_map = light_map; in lit_sprite_proc()
3034 color_map = light_map; in polygon3d_proc()
3339 color_map = light_map; in do_profile()
3347 color_map = light_map; in do_profile()
4656 if (light_map) in main()
[all …]