Blender
V3.3
|
Functions | |
static void | node_declare (NodeDeclarationBuilder &b) |
static void | node_shader_init_tex_environment (bNodeTree *UNUSED(ntree), bNode *node) |
static int | node_shader_gpu_tex_environment (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
|
static |
Definition at line 8 of file node_shader_tex_environment.cc.
References usdtokens::b(), and N_.
Referenced by register_node_type_sh_tex_environment().
|
static |
Definition at line 25 of file node_shader_tex_environment.cc.
References Image::alpha_mode, Image::colorspace_settings, ELEM, GPU_image(), GPU_link(), GPU_material_flag_get(), GPU_MATFLAG_LOOKDEV_HACK, GPU_SAMPLER_ANISO, GPU_SAMPLER_FILTER, GPU_SAMPLER_MIPMAP, GPU_SAMPLER_REPEAT, GPU_SAMPLER_REPEAT_T, GPU_stack_link(), if(), IMA_ALPHA_CHANNEL_PACKED, IMA_ALPHA_IGNORE, IMA_ALPHA_PREMUL, IMB_colormanagement_space_name_is_data(), NodeTexImage::iuser, ColorManagedColorspaceSettings::name, names, node, node_shader_gpu_bump_tex_coord(), node_shader_gpu_tex_mapping(), usdtokens::out(), sampler(), SHD_INTERP_CLOSEST, SHD_INTERP_LINEAR, SHD_PROJ_EQUIRECTANGULAR, bNode::storage, and tex.
Referenced by register_node_type_sh_tex_environment().
|
static |
Definition at line 14 of file node_shader_tex_environment.cc.
References BKE_imageuser_default(), BKE_texture_colormapping_default(), BKE_texture_mapping_default(), Tex::iuser, node, SHD_PROJ_EQUIRECTANGULAR, tex, and TEXMAP_TYPE_POINT.
Referenced by register_node_type_sh_tex_environment().