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
2022-01-26D13910: Workbench: Port shaders to use GPUShaderCreateInfoClément Foucault
Also adds a few things to GPUShader for easily create shaders. Heavy usage of macros to compose the createInfo and avoid duplications and copy paste bugs. This makes the link between the shader request functions (in workbench_shader.cc) and the actual createInfo a bit obscure since the names are composed and not searchable. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D13910
2021-07-07Cleanup: spelling in commentsCampbell Barton
2020-07-30EEVEE: GLSL refactor/cleanupClément Foucault
- add the use of DRWShaderLibrary to EEVEE's glsl codebase to reduce code complexity and duplication. - split bsdf_common_lib.glsl into multiple sub library which are now shared with other engines. - the surface shader code is now more organised and have its own files. - change default world to use a material nodetree and make lookdev shader more clear. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D8306
2020-07-15Workbench: Replace viewvecs caculation by DRWViewClément Foucault
2020-03-11Workbench Simplification RefactorClément Foucault
This patch is (almost) a complete rewrite of workbench engine. The features remain unchanged but the code quality is greatly improved. Hair shading is brighter but also more correct. This also introduce the concept of `DRWShaderLibrary` to make a simple include system inside the GLSL files. Differential Revision: https://developer.blender.org/D7060
2018-05-22Workbench: SeeThrough draw optionJeroen Bakker
Option to see through all meshes (transparency) Works for OB_SOLID and OB_TEXTURED. Does not work for V3D_SHADING_SHADOW. TODO: Fresnel effect
2018-05-16Workbench: World based studio lightingJeroen Bakker
Disabled shadows for now as the calculation of the light direction is still to bogus.
2018-05-15Workbench: Renamed Overlap to OutlineJeroen Bakker
Outline is reserved for the Overlap Overlay
2018-05-15Workbench: Cleaner Shadow edges own shadowJeroen Bakker
2018-05-11Cleanup: whitespaceCampbell Barton
2018-05-053D viewport: rename ambient to shadow intensity, default single color to 0.8.Brecht Van Lommel
2018-05-053D Viewport: make shading and overlay DNA match UI names.Brecht Van Lommel
We should use consistent naming between the internal code and UI whenever possible, only reason not to is file compatibility.
2018-05-05Workbench: Fix reading and testing from depth bufferJeroen Bakker
2018-05-04T54953: Use OCIO for display color managementJeroen Bakker
2018-05-04Workbench: ShadowsJeroen Bakker
Initial review of the shard shadows in the workbench engine. Speed optimizations like transform feedback are not implemented yet. I first want this part to be reviewed and merged. @fclem please check the note in drw_stencil_set it was holding back nequal == 0 as by default DST.stencil_mask was set to 0. questioin is should we remove the whole check or not. Also I am still looking for a better name (or split the enum) for DRW_STATE_STENCIL_DEPTH_FAIL_INCR_DECR_WRAP Reviewers: fclem Reviewed By: fclem Tags: #code_quest Differential Revision: https://developer.blender.org/D3198
2018-05-02Workbench: Linear => srgb conversionJeroen Bakker
2018-04-26Workbench: GLSL layout locationsJeroen Bakker
Added layout locations
2018-04-25Workbench: normal packingJeroen Bakker
Normal packing. The sign is stored in the A of the color buffer. if the A == 1.0 the normal should be inverted. before use. The reason is that packing has more precision for frontfaces, than for backfaces
2018-04-25Workbench: make normal packing optionalJeroen Bakker
2018-04-25Cleanup: unused varsCampbell Barton
2018-04-25Workbench: GLSL performance + code styleJeroen Bakker
- store normal in vec2 - use rgba_8 for colorBuffer
2018-04-25Silhouette Overlap OverlayJeroen Bakker
Added Object Overlap Overlay - Added R32UI support to GPU_framebuffer - Added R32U support to draw manager - The overlay mode has a object data pass that will render 'needed' data to specific buffers so we can mix them together via a deferred rendering. In future will also add UV's and other data - Overlap is implemented as an overlay so it could be used on top of the Scene lighted Solid mode (that will be rendered by Eevee. Reviewers: fclem, brecht Reviewed By: fclem Subscribers: sergey Tags: #code_quest Maniphest Tasks: T54726 Differential Revision: https://developer.blender.org/D3174