Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-25Cleanup: Nuke most of G.main from GPU code.Bastien Montagne
2018-06-15Cycles: change Ambient Occlusion shader to output colors.Lukas Stockner
This means the shader can now be used for procedural texturing. New settings on the node are Samples, Inside, Local Only and Distance. Original patch by Lukas with further changes by Brecht. Differential Revision: https://developer.blender.org/D3479
2018-06-11Cleanup: Moar G.main removal of Hell.Bastien Montagne
This commit actually adds some G.main... but at much, much higher level than the ones it removes, so should still be better ;)
2018-06-04 Cleanup: strip trailing space in GPU moduleCampbell Barton
2018-06-02--debug-gpu-shader: Dump GLSL shaders to diskDalai Felinto
This is really convenient for development. Either for profiling the generated shaders or to check if the generated code is correct. It writes the shaders to the temporary blender session folder. (ported over from blender2.8)
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2018-05-24Cycles/Compositor: Add arctan2 operation to the Math nodeLukas Stockner
The Math node currently has the normal atan() function, but for actual angles this is fairly useless without additional nodes to handle the signs. Since the node has two inputs anyways, it only makes sense to add an arctan2 option. Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D3430
2018-05-07Cleanup: rename char/float conversion functionsCampbell Barton
- FTOCHAR -> unit_float_to_uchar_clamp - F3TOCHAR3 -> unit_float_to_uchar_clamp_v3 (swap args) - F4TOCHAR4 -> unit_float_to_uchar_clamp_v4 (swap args) - FTOUSHORT -> unit_float_to_ushort_clamp - USHORTTOUCHAR -> unit_ushort_to_uchar
2018-04-19Cleanup: styleCampbell Barton
2018-03-10Cycles: switch to squared roughness convention for all nodes.Brecht Van Lommel
This was already done for the Principled BSDF to be compatible with typical baked roughness maps in PBR workflows.
2018-03-01GPU_select: remove unused finalize functionCampbell Barton
Changed 2.8x code so this is no longer needed.
2018-02-28Cleanup: comment for depth picking code, const argsCampbell Barton
Note that setting `glDepthFunc` isn't important, since 2.8 branch changes this value it might seem like an error however it's harmless in this case - so better make note of this.
2018-02-28Cleanup: use 'uint' for GPU_selectCampbell Barton
2018-02-27GPU_select: correction to select-pick-finalizeCampbell Barton
Would run twice, harmless at the moment but could cause issues later.
2018-02-27GPU_select: utility function to finalize selectionCampbell Barton
Needed for depth picking in 2.8
2018-02-15Cleanup: rename BLI_thread.h APICampbell Barton
- Use BLI_threadpool_ prefix for (deprecated) thread/listbase API. - Use BLI_thread as prefix for other functions. See P614 to apply instead of manually resolving conflicts.
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
2018-02-14Cycles: restore Particle Info Index for now, keep it next to Random.Brecht Van Lommel
It seems to be useful still in cases where the particle are distributed in a particular order or pattern, to colorize them along with that. This isn't really well defined, but might as well avoid breaking backwards compatibility for now.
2018-02-14Cycles: change Index output of Hair and Particle Info to Random, in 0..1 range.Brecht Van Lommel
These are used for randomization, so it's convenient if the index is already hashed and consistent with the Object Info node.
2018-02-03Cycles: add Vector Displacement node and extend Displacement node.Brecht Van Lommel
This adds midlevel and object/world space for displacement, and a vector displacement node with tangent/object/world space, midlevel and scale. Note that tangent space vector displacement still is not exactly compatible with maps created by other software, this will require changes to the tangent computation. Differential Revision: https://developer.blender.org/D1734
2018-02-01gpu_shader_material: Correct incorrect glsl texture of Voronoi, Noise, and ↵Germano
Musgrave on some Intel GPUs
2018-01-23Cycles: change material output displacement to vector.Brecht Van Lommel
Previously only scalar displacement along the normal was supported, now displacement can go in any direction. For backwards compatibility, a Displacement node will be automatically inserted in existing files. This will make it possible to support vector displacement maps in the future. It's already possible to use them to some extent, but requires a manual shader node setup. For tangent space maps the right tangent may also not be available yet, depends on the map. Differential Revision: https://developer.blender.org/D3015
2018-01-23Cycles: add Displacement node.Brecht Van Lommel
This converts object space height to world space displacement, to be linked to the new vector displacement material output. Differential Revision: https://developer.blender.org/D3015
2018-01-16Sculpting: Fix uninitialized color being left for smooth meshes with hidden maskSergey Sharybin
2018-01-16Sculpting: Fix for "Hide Mask" does not work with multiresSergey Sharybin
2018-01-16Cleanup: indentationCampbell Barton
2018-01-15Sculpting: Sdd an option to hide mask in viewportSergey Sharybin
Brushes themselves are still affected by the mask, but the viewport is not showing the mask. This way it's easier to see details while sculpting. Studio request by Julien Kaspar
2018-01-15GPU buffers: Use bitflag to whether we want to show diffuse colorSergey Sharybin
Those fine-tuning bits will be extended soon, so makes sense to start using some more verbose flag names when calling functions.
2017-12-07Cleanup: Use BKE_colorband prefixCampbell Barton
2017-12-07Cleanup: extract BKE_colorband from BKE_textureCampbell Barton
2017-11-23Fix T53348: Cycles difference between gradient texture on CPU and GPU.Brecht Van Lommel
2017-11-08Cycles: add bevel shader, for raytrace based rounded edges.Brecht Van Lommel
The algorithm averages normals from nearby surfaces. It uses the same sampling strategy as BSSRDFs, casting rays along the normal and two orthogonal axes, and combining the samples with MIS. The main concern here is that we are introducing raytracing inside shader evaluation, which could be quite bad for GPU performance and stack memory usage. In practice it doesn't seem so bad though. Note that using this feature can easily slow down renders 20%, and that if you care about performance then it's better to use a bevel modifier. Mainly this is useful for baking, and for cases where the mesh topology makes it difficult for the bevel modifier to work well. Differential Revision: https://developer.blender.org/D2803
2017-11-05Cleanup: spellingCampbell Barton
2017-11-01Fix T53217: GLSL principled BSDF black with zero clearcoat roughness.Brecht Van Lommel
2017-10-17GPU: Report number of compressed texture formats to help nailing crahs down ↵Sergey Sharybin
in the future
2017-10-17GPU: Fix memory corruption in GPU_debug on GTX1080Sergey Sharybin
Number of texture formats is 51, which is greater than allowed size of 32.
2017-09-29Vertex Paint: Alpha SupportCampbell Barton
GSOC 2017 by Darshan Kadu, see: D2859. This is a partial merge of some of the features from the soc-2017-vertex_paint branch. - Alpha painting & drawing. - 10 new color blending modes. - Support for vertex select in vertex paint mode.
2017-09-06Fix T52652: Cycles image box mapping has flipped textures.Brecht Van Lommel
This breaks backwards compatibility some in that 3 sides will be mapped differently now, but difficult to avoid and can be considered a bugfix.
2017-09-06Fix error in high bit-depth image tile drawingCampbell Barton
From @1xundoredo in D2824
2017-08-12Fix T52298: hidden lamps still compute shadow buffers in viewport.Brecht Van Lommel
2017-08-01Cleanup: use static vars where appropriateCampbell Barton
2017-07-09Fix T52001: material draw mode principled BSDF artifacts at some angles.Brecht Van Lommel
The default anisotropic tangent computation could fail in some cases, leading to NaNs and artifacts. Use a simpler formulation that doesn't suffer from this.
2017-07-02Fix T51957: principled BSDF mismatches in GLSL viewport.Brecht Van Lommel
2017-06-21Fix T51862: principled shader GLSL artifacts in ortho mode.Brecht Van Lommel
2017-06-21Fix T51849: change Cycles clearcoat gloss to roughness.Brecht Van Lommel
This is compatible with UE4 and more consistent with specular and transmission roughness, even if it deviates from the original Disney BRDF.
2017-06-14Fix buffer read error w/ 2 pass select queriesCampbell Barton
Also don't do second pass when the first has no hits.
2017-06-02Cleanup: styleCampbell Barton
2017-05-20CMake: Use GCC7's -Wimplicit-fallthrough=5Campbell Barton
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress.
2017-05-18Fix T51408: Cycles - Principled BSDF Shader - Transparency is not working as ↵Pascal Schoen
expected Renamed the "Transparency" input of the Principled BSDF to "Transmission" and "Refraction Roughness" to "Transmission Roughness".