khanat-opennel-code/code/nel/tools/3d/ig_lighter/config.cfg
2010-05-08 15:37:08 +02:00

46 lines
1.4 KiB
INI

// Sun direction.
sun_direction = { -0.776685, +0.216619, -0.59147 };
// Enable shadows. 0 disable, 1 enable
shadow = 1;
// Oversampling value, must be 0 (disable), 2, 4, 8, 16
// This apply to surface cells and instances.
ig_oversampling = 0;
// Size of the quad grid side in meter. Should be a power of 2. (optimisation)
quad_grid_size = 512;
// Size of a cell of the quad grid in meter. (optimisation)
quad_grid_cell_size = 1;
// Shapes path
shapes_path = "shapes";
// GlobalRetriever bank file.gr. Empty string to disable SurfaceLighting
grbank= "pipo.gr";
// LocalRetriever bank file .rbank. Empty string to disable SurfaceLighting
rbank= "pipo.rbank";
// If SurfaceLighting enabled, define size of a cell (in meters) in a surface.
cell_surface_light_size = 1;
// If SurfaceLighting enabled, define a deltaZ before raytracing cellPos against lights. Usefull to simulate center of entities.
cell_raytrace_delta_z = 1;
// The lighter search in rbank any retriever with identifier ---igname*** as substring
// where --- is col_identifier_prefix and *** is col_identifier_suffix
// eg: if igname= "street", col_identifier_prefix= "col_", col_identifier_suffix= "_",
// then "col_street_1" and "col_street_2" are valid and are used to build LightSurface infos in the Ig.
col_identifier_prefix= "col_";
col_identifier_suffix= "_";
// Build debug surface shapes (slower the process)
build_debug_surface_shape= 1;