Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/texture.c
| Context not available. | |||||
| tex->env->clipend = 100; | tex->env->clipend = 100; | ||||
| tex->env->cuberes = 512; | tex->env->cuberes = 512; | ||||
| tex->env->depth = 0; | tex->env->depth = 0; | ||||
| tex->env->flag = ENVMAP_AUTO_UPDATE; | |||||
| } | } | ||||
| if (tex->pd) { | if (tex->pd) { | ||||
| Context not available. | |||||
| mtex->blendtype = MTEX_BLEND; | mtex->blendtype = MTEX_BLEND; | ||||
| mtex->colfac = 1.0; | mtex->colfac = 1.0; | ||||
| mtex->norfac = 1.0; | mtex->norfac = 1.0; | ||||
| mtex->parallaxuv = 0.0f; | |||||
| mtex->parallaxbumpsc = 0.03f; | |||||
| mtex->parallaxsteps = 10.0f; | |||||
| mtex->varfac = 1.0; | mtex->varfac = 1.0; | ||||
| mtex->dispfac = 0.2; | mtex->dispfac = 0.2; | ||||
| mtex->colspecfac = 1.0f; | mtex->colspecfac = 1.0f; | ||||
| Context not available. | |||||
| mtex->brush_map_mode = MTEX_MAP_MODE_TILED; | mtex->brush_map_mode = MTEX_MAP_MODE_TILED; | ||||
| mtex->random_angle = 2.0f * (float)M_PI; | mtex->random_angle = 2.0f * (float)M_PI; | ||||
| mtex->brush_angle_mode = 0; | mtex->brush_angle_mode = 0; | ||||
| mtex->ior = 1.0f; | |||||
| mtex->refrratio = 0.0f; | |||||
| } | } | ||||
| Context not available. | |||||
| env->clipend = 100.0; | env->clipend = 100.0; | ||||
| env->cuberes = 512; | env->cuberes = 512; | ||||
| env->viewscale = 0.5; | env->viewscale = 0.5; | ||||
| env->flag = ENVMAP_AUTO_UPDATE; | |||||
| return env; | return env; | ||||
| } | } | ||||
| Context not available. | |||||