blender/intern/cycles/kernel/shaders
Mai Lavelle 013b46d6bd Cycles: Replace object index hack with actual checks for SD_TRANSFORM_APPLIED
Using ones complement for detecting if transform has been applied was confusing
and led to several bugs. With this proper checks are made.

Also added a few transforms where they were missing, mostly affecting baking
and displacement when `P` is used in the shader (previously `P` was in the
wrong space for these shaders)

Also removed `TIME_INVALID` as this may have resulted in incorrect
transforms in some cases.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2192
2016-09-11 13:49:05 -04:00
..
CMakeLists.txt Fix T48783: OSL render errors after recent refactoring. 2016-07-03 13:08:21 +02:00
node_absorption_volume.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_add_closure.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_ambient_occlusion.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_anisotropic_bsdf.osl Cycles: Add multi-scattering, energy-conserving GGX as an option to the Glossy, Anisotropic and Glass BSDFs 2016-06-23 22:57:26 +02:00
node_attribute.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_background.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_blackbody.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_brick_texture.osl Code refactor: add separate RGB to BW node and rename some sockets. 2016-05-29 20:30:16 +02:00
node_brightness.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_bump.osl Cycles: Fix bump mapping to use object space when used with true displacement 2016-09-11 11:20:21 -04:00
node_camera.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_checker_texture.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_color.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_combine_hsv.osl Revert "Fix T42888: Separate and Combine HSV distorts the hue value" 2014-12-29 18:14:08 +05:00
node_combine_rgb.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_combine_xyz.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_convert_from_color.osl Code refactor: add separate RGB to BW node and rename some sockets. 2016-05-29 20:30:16 +02:00
node_convert_from_float.osl Code refactor: add separate RGB to BW node and rename some sockets. 2016-05-29 20:30:16 +02:00
node_convert_from_int.osl Code refactor: add separate RGB to BW node and rename some sockets. 2016-05-29 20:30:16 +02:00
node_convert_from_normal.osl Code refactor: add separate RGB to BW node and rename some sockets. 2016-05-29 20:30:16 +02:00
node_convert_from_point.osl Code refactor: add separate RGB to BW node and rename some sockets. 2016-05-29 20:30:16 +02:00
node_convert_from_string.osl Code refactor: add separate RGB to BW node and rename some sockets. 2016-05-29 20:30:16 +02:00
node_convert_from_vector.osl Code refactor: add separate RGB to BW node and rename some sockets. 2016-05-29 20:30:16 +02:00
node_diffuse_bsdf.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_emission.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_environment_texture.osl Cycles: make shader node enums consistently lower case, update OSL shaders accordingly. 2016-06-11 23:50:11 +02:00
node_fresnel.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_fresnel.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_gamma.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_geometry.osl Fix T43651: New pointiness attribute doesn't work with displacement 2015-02-20 17:20:24 +05:00
node_glass_bsdf.osl Cycles: Add multi-scattering, energy-conserving GGX as an option to the Glossy, Anisotropic and Glass BSDFs 2016-06-23 22:57:26 +02:00
node_glossy_bsdf.osl Cycles: Add multi-scattering, energy-conserving GGX as an option to the Glossy, Anisotropic and Glass BSDFs 2016-06-23 22:57:26 +02:00
node_gradient_texture.osl Cycles: make shader node enums consistently lower case, update OSL shaders accordingly. 2016-06-11 23:50:11 +02:00
node_hair_bsdf.osl Fix Cycles OSL hair BSDF inconsistencies with SVM. 2016-07-29 03:29:05 +02:00
node_hair_info.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_holdout.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_hsv.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_image_texture.osl Fix T48783: OSL render errors after recent refactoring. 2016-07-03 13:08:21 +02:00
node_invert.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_layer_weight.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_light_falloff.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_light_path.osl Cycles: Refactor how we pass bounce info to light path node. 2016-01-06 23:43:29 +01:00
node_magic_texture.osl Code refactor: add separate RGB to BW node and rename some sockets. 2016-05-29 20:30:16 +02:00
node_mapping.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_math.osl Cycles: make shader node enums consistently lower case, update OSL shaders accordingly. 2016-06-11 23:50:11 +02:00
node_mix_closure.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_mix.osl Cycles: make shader node enums consistently lower case, update OSL shaders accordingly. 2016-06-11 23:50:11 +02:00
node_musgrave_texture.osl Cycles: make shader node enums consistently lower case, update OSL shaders accordingly. 2016-06-11 23:50:11 +02:00
node_noise_texture.osl Cleanup: Remove unused Noise Basis texture code. 2015-05-28 01:07:37 +02:00
node_normal_map.osl Fix T49187: inconsistent Normal Map node output for backfacing polygons. 2016-08-30 12:48:59 +03:00
node_normal.osl Code refactor: add separate RGB to BW node and rename some sockets. 2016-05-29 20:30:16 +02:00
node_object_info.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_output_displacement.osl Cycles: Replace object index hack with actual checks for SD_TRANSFORM_APPLIED 2016-09-11 13:49:05 -04:00
node_output_surface.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_output_volume.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_particle_info.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_ramp_util.h Cycles: constant folding for RGB/Vector Curves and Color Ramp. 2016-07-31 02:18:23 +02:00
node_refraction_bsdf.osl Cycles: make shader node enums consistently lower case, update OSL shaders accordingly. 2016-06-11 23:50:11 +02:00
node_rgb_curves.osl Fix T49071: Cycles OSL build problem with oslc compilers that can't find their own stdosl.h. 2016-08-12 01:01:09 +02:00
node_rgb_ramp.osl Fix T49071: Cycles OSL build problem with oslc compilers that can't find their own stdosl.h. 2016-08-12 01:01:09 +02:00
node_rgb_to_bw.osl Fix T48783: OSL render errors after recent refactoring. 2016-07-03 13:08:21 +02:00
node_scatter_volume.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_separate_hsv.osl Revert "Fix T42888: Separate and Combine HSV distorts the hue value" 2014-12-29 18:14:08 +05:00
node_separate_rgb.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_separate_xyz.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_set_normal.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_sky_texture.osl Cycles: make shader node enums consistently lower case, update OSL shaders accordingly. 2016-06-11 23:50:11 +02:00
node_subsurface_scattering.osl Cycles: make shader node enums consistently lower case, update OSL shaders accordingly. 2016-06-11 23:50:11 +02:00
node_tangent.osl Cycles: make shader node enums consistently lower case, update OSL shaders accordingly. 2016-06-11 23:50:11 +02:00
node_texture_coordinate.osl Cycles: Support texture coordinate from another object 2015-01-27 13:36:30 +05:00
node_texture.h Cleanup: Remove unused Noise Basis texture code. 2015-05-28 01:07:37 +02:00
node_toon_bsdf.osl Cycles: make shader node enums consistently lower case, update OSL shaders accordingly. 2016-06-11 23:50:11 +02:00
node_translucent_bsdf.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_transparent_bsdf.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_uv_map.osl Cycles: make shader node enums consistently lower case, update OSL shaders accordingly. 2016-06-11 23:50:11 +02:00
node_value.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_vector_curves.osl Fix T49071: Cycles OSL build problem with oslc compilers that can't find their own stdosl.h. 2016-08-12 01:01:09 +02:00
node_vector_math.osl Cycles: make shader node enums consistently lower case, update OSL shaders accordingly. 2016-06-11 23:50:11 +02:00
node_vector_transform.osl Cycles: make shader node enums consistently lower case, update OSL shaders accordingly. 2016-06-11 23:50:11 +02:00
node_velvet_bsdf.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_voronoi_texture.osl Cycles: make shader node enums consistently lower case, update OSL shaders accordingly. 2016-06-11 23:50:11 +02:00
node_voxel_texture.osl Cleanup: OSL style 2016-02-17 21:39:23 +11:00
node_wave_texture.osl Cycles: make shader node enums consistently lower case, update OSL shaders accordingly. 2016-06-11 23:50:11 +02:00
node_wavelength.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_wireframe.osl Cycles: Add note about autodiff in OSL wireframe shader 2015-02-21 17:31:41 +05:00
oslutil.h Code refactor: use dynamic shader node array lengths now that OSL supports them. 2016-05-17 21:39:16 +02:00
stdosl.h Cycles: Add multi-scattering, energy-conserving GGX as an option to the Glossy, Anisotropic and Glass BSDFs 2016-06-23 22:57:26 +02:00