Brecht authored this commit, but he gave me the honours to actually do it. Here it goes; Blender Internal. Bye bye, you did great! * Point density, voxel data, ocean, environment map textures were removed, as these only worked within BI rendering. Note that the ocean modifier and the Cycles point density shader node continue to work. * Dynamic paint using material shading was removed, as this only worked with BI. If we ever wanted to support this again probably it should go through the baking API. * GPU shader export through the Python API was removed. This only worked for the old BI GLSL shaders, which no longer exists. Doing something similar for Eevee would be significantly more complicated because it uses a lot of multiplass rendering and logic outside the shader, it's probably impractical. * Collada material import / export code is mostly gone, as it only worked for BI materials. We need to add Cycles / Eevee material support at some point. * The mesh noise operator was removed since it only worked with BI material texture slots. A displacement modifier can be used instead. * The delete texture paint slot operator was removed since it only worked for BI material texture slots. Could be added back with node support. * Not all legacy viewport features are supported in the new viewport, but their code was removed. If we need to bring anything back we can look at older git revisions. * There is some legacy viewport code that I could not remove yet, and some that I probably missed. * Shader node execution code was left mostly intact, even though it is not used anywhere now. We may eventually use this to replace the texture nodes with Cycles / Eevee shader nodes. * The Cycles Bake panel now includes settings for baking multires normal and displacement maps. The underlying code needs to be merged properly, and we plan to add back support for multires AO baking and add support to Cycles baking for features like vertex color, displacement, and other missing baking features. * This commit removes DNA and the Python API for BI material, lamp, world and scene settings. This breaks a lot of addons. * There is more DNA that can be removed or renamed, where Cycles or Eevee are reusing some old BI properties but the names are not really correct anymore. * Texture slots for materials, lamps and world were removed. They remain for brushes, particles and freestyle linestyles. * 'BLENDER_RENDER' remains in the COMPAT_ENGINES of UI panels. Cycles and other renderers use this to find all panels to show, minus a few panels that they have their own replacement for.
142 lines
5.2 KiB
C++
142 lines
5.2 KiB
C++
/*
|
|
* ***** BEGIN GPL LICENSE BLOCK *****
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*
|
|
* The Original Code is Copyright (C) 2005 Blender Foundation.
|
|
* All rights reserved.
|
|
*
|
|
* The Original Code is: all of this file.
|
|
*
|
|
* Contributor(s): none yet.
|
|
*
|
|
* ***** END GPL LICENSE BLOCK *****
|
|
*/
|
|
|
|
/** \file NOD_shader.h
|
|
* \ingroup nodes
|
|
*/
|
|
|
|
#ifndef __NOD_SHADER_H__
|
|
#define __NOD_SHADER_H__
|
|
|
|
#include "BKE_node.h"
|
|
|
|
extern struct bNodeTreeType *ntreeType_Shader;
|
|
|
|
|
|
/* the type definitions array */
|
|
/* ****************** types array for all shaders ****************** */
|
|
|
|
void register_node_tree_type_sh(void);
|
|
|
|
void register_node_type_sh_group(void);
|
|
|
|
void register_node_type_sh_camera(void);
|
|
void register_node_type_sh_value(void);
|
|
void register_node_type_sh_rgb(void);
|
|
void register_node_type_sh_mix_rgb(void);
|
|
void register_node_type_sh_valtorgb(void);
|
|
void register_node_type_sh_rgbtobw(void);
|
|
void register_node_type_sh_normal(void);
|
|
void register_node_type_sh_gamma(void);
|
|
void register_node_type_sh_brightcontrast(void);
|
|
void register_node_type_sh_mapping(void);
|
|
void register_node_type_sh_curve_vec(void);
|
|
void register_node_type_sh_curve_rgb(void);
|
|
void register_node_type_sh_math(void);
|
|
void register_node_type_sh_vect_math(void);
|
|
void register_node_type_sh_squeeze(void);
|
|
void register_node_type_sh_dynamic(void);
|
|
void register_node_type_sh_invert(void);
|
|
void register_node_type_sh_seprgb(void);
|
|
void register_node_type_sh_combrgb(void);
|
|
void register_node_type_sh_sephsv(void);
|
|
void register_node_type_sh_combhsv(void);
|
|
void register_node_type_sh_sepxyz(void);
|
|
void register_node_type_sh_combxyz(void);
|
|
void register_node_type_sh_hue_sat(void);
|
|
void register_node_type_sh_tex_brick(void);
|
|
void register_node_type_sh_tex_pointdensity(void);
|
|
|
|
void register_node_type_sh_attribute(void);
|
|
void register_node_type_sh_bevel(void);
|
|
void register_node_type_sh_displacement(void);
|
|
void register_node_type_sh_vector_displacement(void);
|
|
void register_node_type_sh_geometry(void);
|
|
void register_node_type_sh_light_path(void);
|
|
void register_node_type_sh_light_falloff(void);
|
|
void register_node_type_sh_object_info(void);
|
|
void register_node_type_sh_fresnel(void);
|
|
void register_node_type_sh_wireframe(void);
|
|
void register_node_type_sh_wavelength(void);
|
|
void register_node_type_sh_blackbody(void);
|
|
void register_node_type_sh_layer_weight(void);
|
|
void register_node_type_sh_tex_coord(void);
|
|
void register_node_type_sh_particle_info(void);
|
|
void register_node_type_sh_hair_info(void);
|
|
void register_node_type_sh_script(void);
|
|
void register_node_type_sh_normal_map(void);
|
|
void register_node_type_sh_tangent(void);
|
|
void register_node_type_sh_vect_transform(void);
|
|
|
|
void register_node_type_sh_ambient_occlusion(void);
|
|
void register_node_type_sh_background(void);
|
|
void register_node_type_sh_bsdf_diffuse(void);
|
|
void register_node_type_sh_bsdf_glossy(void);
|
|
void register_node_type_sh_bsdf_glass(void);
|
|
void register_node_type_sh_bsdf_refraction(void);
|
|
void register_node_type_sh_bsdf_translucent(void);
|
|
void register_node_type_sh_bsdf_transparent(void);
|
|
void register_node_type_sh_bsdf_velvet(void);
|
|
void register_node_type_sh_bsdf_toon(void);
|
|
void register_node_type_sh_bsdf_anisotropic(void);
|
|
void register_node_type_sh_bsdf_principled(void);
|
|
void register_node_type_sh_emission(void);
|
|
void register_node_type_sh_holdout(void);
|
|
void register_node_type_sh_volume_absorption(void);
|
|
void register_node_type_sh_volume_scatter(void);
|
|
void register_node_type_sh_volume_principled(void);
|
|
void register_node_type_sh_bsdf_hair(void);
|
|
void register_node_type_sh_subsurface_scattering(void);
|
|
void register_node_type_sh_mix_shader(void);
|
|
void register_node_type_sh_add_shader(void);
|
|
void register_node_type_sh_uvmap(void);
|
|
void register_node_type_sh_uvalongstroke(void);
|
|
void register_node_type_sh_eevee_metallic(void);
|
|
void register_node_type_sh_eevee_specular(void);
|
|
|
|
void register_node_type_sh_output_lamp(void);
|
|
void register_node_type_sh_output_material(void);
|
|
void register_node_type_sh_output_eevee_material(void);
|
|
void register_node_type_sh_output_world(void);
|
|
void register_node_type_sh_output_linestyle(void);
|
|
|
|
void register_node_type_sh_tex_image(void);
|
|
void register_node_type_sh_tex_environment(void);
|
|
void register_node_type_sh_tex_sky(void);
|
|
void register_node_type_sh_tex_voronoi(void);
|
|
void register_node_type_sh_tex_gradient(void);
|
|
void register_node_type_sh_tex_magic(void);
|
|
void register_node_type_sh_tex_wave(void);
|
|
void register_node_type_sh_tex_musgrave(void);
|
|
void register_node_type_sh_tex_noise(void);
|
|
void register_node_type_sh_tex_checker(void);
|
|
void register_node_type_sh_bump(void);
|
|
|
|
#endif
|
|
|
|
|