blender/intern/cycles/scene
Brecht Van Lommel db4b36d1b2 Fix #155458: Cycles displacement with flat and smooth normals artifacts
The fix in 2dc2e0b062 to discard flat/smooth flags if there are corner
normals didn't work well for displacement. Then the normals are fully
recomputed from displacement and for this the flat/smooth flag is
needed.

Rather than discarding the flags on conversion from Blender, do it
inside Cycles after displacement.

Pull Request: https://projects.blender.org/blender/blender/pulls/155522
2026-03-11 17:51:04 +01:00
..
attribute.cpp Cycles: Use per-corner normals instead of splitting 2026-02-06 19:22:49 +01:00
attribute.h Refactor: Cycles: Compress vertex normals with octahedral mapping 2026-02-06 19:22:48 +01:00
background.cpp Cycles: Shade volume with null scattering 2025-08-13 10:28:50 +02:00
background.h Cycles: Shade volume with null scattering 2025-08-13 10:28:50 +02:00
bake.cpp
bake.h
camera.cpp Refactor: Cycles: Colorspace changes to prepare for texture cache 2026-01-14 17:57:45 +01:00
camera.h Cycles: Support for custom OSL cameras 2025-04-25 19:27:30 +02:00
CMakeLists.txt Deps: Fix fragile openexr dependency linking 2026-02-05 23:10:02 +01:00
constant_fold.cpp Refactor: Cycles: Align log levels with CLOG 2025-08-18 20:22:44 +02:00
constant_fold.h
curves.cpp
curves.h
devicescene.cpp Refactor: Cycles: Compress vertex normals with octahedral mapping 2026-02-06 19:22:48 +01:00
devicescene.h Refactor: Cycles: Compress vertex normals with octahedral mapping 2026-02-06 19:22:48 +01:00
film.cpp Cycles: Add Render Time pass 2025-09-22 21:54:08 +02:00
film.h Refactor: Cycles: Move scene update earlier in render iteration update 2025-04-11 14:28:22 +02:00
geometry.cpp Cycles: Use per-corner normals instead of splitting 2026-02-06 19:22:49 +01:00
geometry.h Refactor: Cycles: Compress vertex normals with octahedral mapping 2026-02-06 19:22:48 +01:00
geometry_attributes.cpp Cycles: Use per-corner normals instead of splitting 2026-02-06 19:22:49 +01:00
geometry_bvh.cpp Fix: Cycles log levels conflict with macros on some platforms 2025-07-10 19:44:14 +02:00
geometry_mesh.cpp Refactor: Cycles: Store vertex normals as a regular attribute 2026-02-06 19:22:48 +01:00
hair.cpp Refactor: Cycles: Compress vertex normals with octahedral mapping 2026-02-06 19:22:48 +01:00
hair.h Fix #94135: Cycles: Shadow transparency not updating when shader changes 2025-11-03 12:52:05 +01:00
image.cpp Cleanup: spelling in comments (make check_spelling_*) 2026-02-06 23:06:08 +11:00
image.h Refactor: Cycles: More consistent naming of image functions and structs 2026-01-14 17:57:46 +01:00
image_oiio.cpp Refactor: Cycles: Changes to image loading to prepare for texture cache 2026-01-14 17:57:46 +01:00
image_oiio.h Refactor: Cycles: Changes to image loading to prepare for texture cache 2026-01-14 17:57:46 +01:00
image_sky.cpp Fix #152893: Cycles OSL multi-device does not render Sky properly 2026-02-09 13:54:46 +01:00
image_sky.h Refactor: Cycles: Changes to image loading to prepare for texture cache 2026-01-14 17:57:46 +01:00
image_vdb.cpp Cleanup: NanoVDB deprecation warning after 5.1 lib upgrade 2026-01-23 11:36:49 +01:00
image_vdb.h Refactor: Cycles: Changes to image loading to prepare for texture cache 2026-01-14 17:57:46 +01:00
integrator.cpp Fix: Cycles: Update volume meshes when rendering algorithm changes 2026-01-30 14:21:01 +01:00
integrator.h Cycles: Do not tag all sockets for modified when only shadow catcher needs recalc 2026-01-30 14:20:08 +01:00
light.cpp Render: Add Multiple Scattering Sky Texture 2025-09-15 18:08:28 +02:00
light.h Fix: Cycles light tree poor when light normalize is off 2025-05-22 16:32:44 +02:00
light_tree.cpp Cleanup: grammar corrections, minor improvements to wording 2025-08-06 00:20:39 +00:00
light_tree.h Fix #130829: Incorrect render result with light trees 2025-02-18 13:11:46 +01:00
light_tree_debug.cpp Refactor: Cycles: Sync various build fixes from the standalone repository 2025-03-27 22:07:50 +01:00
light_tree_debug.h Refactor: Cycles: Sync various build fixes from the standalone repository 2025-03-27 22:07:50 +01:00
mesh.cpp Fix #155458: Cycles displacement with flat and smooth normals artifacts 2026-03-11 17:51:04 +01:00
mesh.h Refactor: Cycles: Store vertex normals as a regular attribute 2026-02-06 19:22:48 +01:00
mesh_displace.cpp Fix: Cycles corner normals and displacement + bump wrong results 2026-02-09 23:20:15 +01:00
mesh_subdivision.cpp Fix #137517: Cycles adaptive subdivision doesn't use flat normals 2025-04-17 19:13:22 +02:00
object.cpp Fix #154243: Cycles: Performance regression from motion blur on static volumes 2026-02-17 12:12:41 +01:00
object.h Fix #154243: Cycles: Performance regression from motion blur on static volumes 2026-02-17 12:12:41 +01:00
osl.cpp Refactor: Cycles: Colorspace changes to prepare for texture cache 2026-01-14 17:57:45 +01:00
osl.h Refactor: Cycles: Colorspace changes to prepare for texture cache 2026-01-14 17:57:45 +01:00
particles.cpp Fix: Cycles log levels conflict with macros on some platforms 2025-07-10 19:44:14 +02:00
particles.h
pass.cpp Cycles: Swap order of Denoise Albedo and Denoise Normal passes 2026-01-26 14:36:55 +01:00
pass.h Cycles: Add Render Time pass 2025-09-22 21:54:08 +02:00
pointcloud.cpp Fix #142233: Cycles crash due to wrong node type registration order 2025-07-17 21:13:59 +02:00
pointcloud.h Fix #108215: Cycles: Point Cloud uses wrong position with Persistent Data 2025-01-20 02:49:35 +01:00
procedural.cpp
procedural.h
scene.cpp Refactor: Cycles: Store vertex normals as a regular attribute 2026-02-06 19:22:48 +01:00
scene.h Cycles: Remove Alembic procedural 2025-09-10 16:39:01 +02:00
shader.cpp Refactor: Cycles: Colorspace changes to prepare for texture cache 2026-01-14 17:57:45 +01:00
shader.h Refactor: Cycles: Colorspace changes to prepare for texture cache 2026-01-14 17:57:45 +01:00
shader.tables Cycles: Replace thin-film basis function approximation with accurate LUTs 2025-07-09 22:10:28 +02:00
shader_graph.cpp Refactor: Cycles: Align log levels with CLOG 2025-08-18 20:22:44 +02:00
shader_graph.h Cleanup: Formatting 2025-10-02 12:55:42 -04:00
shader_nodes.cpp Cycles: Add Normal Map node Base option for displaced surfaces 2026-02-27 18:52:50 +01:00
shader_nodes.h Cycles: Add Normal Map node Base option for displaced surfaces 2026-02-27 18:52:50 +01:00
stats.cpp
stats.h
svm.cpp Fix #150441: Cycles OSL multi device GPU rendering crash 2025-11-27 13:17:11 +01:00
svm.h Fix #143841: Cycles OptiX error adding AO shader with viewport render 2025-08-11 12:05:16 +02:00
tables.cpp Fix: Cycles log levels conflict with macros on some platforms 2025-07-10 19:44:14 +02:00
tables.h
tabulated_sobol.cpp
tabulated_sobol.h
volume.cpp Fix #151621: Avoid overlap of volume objects with shared geometry 2026-01-30 14:21:37 +01:00
volume.h Cleanup: Cycles: Tag volume update from integrator 2026-01-30 14:20:49 +01:00