forked from bartvdbraak/blender
df07a25d28
This is the same as blender internal's texture mapping from another object, so this way it's possible to control texture space of one object by another. Quite straightforward change apart from the workaround for the stupidness of the dependency graph. Now shader has flag telling that it depends on object transform. This is the simplest way to know which shaders needs to be tagged for update when object changes. This might give some false-positive tags now but reducing them should not be priority for Cycles and rather be a priority to bring new dependency graph. Also GLSL preview does not support using other object for mapping. This is actually correct for BI shading as well and to be addressed as a part of general GLSL viewport improvements since it's not really clear how to support this in GLSL. Reviewers: brecht, juicyfruit Subscribers: eyecandy, venomgfx Differential Revision: https://developer.blender.org/D1021 |
||
---|---|---|
.. | ||
svm_attribute.h | ||
svm_blackbody.h | ||
svm_brick.h | ||
svm_brightness.h | ||
svm_camera.h | ||
svm_checker.h | ||
svm_closure.h | ||
svm_convert.h | ||
svm_displace.h | ||
svm_fresnel.h | ||
svm_gamma.h | ||
svm_geometry.h | ||
svm_gradient.h | ||
svm_hsv.h | ||
svm_image.h | ||
svm_invert.h | ||
svm_light_path.h | ||
svm_magic.h | ||
svm_mapping.h | ||
svm_math_util.h | ||
svm_math.h | ||
svm_mix.h | ||
svm_musgrave.h | ||
svm_noise.h | ||
svm_noisetex.h | ||
svm_normal.h | ||
svm_ramp.h | ||
svm_sepcomb_hsv.h | ||
svm_sepcomb_vector.h | ||
svm_sky.h | ||
svm_tex_coord.h | ||
svm_texture.h | ||
svm_types.h | ||
svm_value.h | ||
svm_vector_transform.h | ||
svm_voronoi.h | ||
svm_wave.h | ||
svm_wavelength.h | ||
svm_wireframe.h | ||
svm.h |