8e8d1cab6f
Eevee: Fix crash when clicking the lightcache bake button multiple time
2018-10-23 18:04:45 +02:00
ee8e866a0e
Eevee: Fix crash when baking
...
Was caused by the normal pass being enbaled in the renderlayer settings.
Fix T57344
2018-10-23 18:04:45 +02:00
8e3a680ebe
Fix Eevee Reflection CubeMap and Irradiance Volume on some Intel gpus
...
When you pass a struct as a parameter to a function, the qualifier "layout(column_major)" is lost.
2018-10-19 18:23:26 -03:00
e6fe207a52
Eevee: LightProbes: Fix negative padding
2018-10-19 18:13:22 +02:00
cdef1e911b
Fix shadows of sun type lights on some Intel gpus
...
When you pass a struct as a parameter to a function, the qualifier "layout(column_major)" is lost.
2018-10-19 11:12:30 -03:00
9b5183769b
Cleanup: compiler warnings
2018-10-19 14:51:55 +11:00
c6eb5651ba
Eevee: Fix error when using texture coordinate on world shaders
...
Compilation errors were happening on OSX with errors of the type:
```ERROR: Input of fragment shader 'viewNormal' not written by vertex shader```
2018-10-17 12:18:06 +02:00
9ecf68e8ae
Eevee: Fix Missing alpha when rendering with DOF
...
NOTE: There is a float imprecision near the focus plane
due to the current technique used for DOF. This makes the alpha channel
transparent on nearly in focus objects even when they should not.
This artifact should be fixed when the DOF will use scatter as gather for
low brightness areas.
Fix T57042 : Eevee does not render alpha when DOF is turned on
2018-10-15 16:04:50 +02:00
3f0873fa1e
Eevee: Fix blank output if scene complexity is high
...
Encountered on Nvidia + Linux, it seems that doing everything all at once
can make the driver give up the whole command list and return nothing as
the output of the render.
2018-10-11 13:20:00 +02:00
944e22115d
Eevee: Lights: Bump the minimum area light size
...
This is to avoid visible artifacts with default lamps intensity.
2018-10-09 19:08:25 +02:00
65fee32324
Eevee: Volume: Fix incorrect Light intensity compared to cycles
2018-10-09 19:08:25 +02:00
47e1e7212c
Eevee: Fix crash with defered compilation and volumetric shaders
2018-10-09 17:34:04 +02:00
e234ce9b22
Eevee: Add support/Fix Object Info node
...
Caveat: Random output does not yet work with instance (dupli) objects.
2018-10-09 17:34:04 +02:00
0749808d51
DRW: Fix volume visibility when object draw type is wire or bbox
2018-10-09 12:12:38 +02:00
8c4a7593f2
EEVEE: Fix unpremultiplied alpha in render result
...
Fix T57102
2018-10-08 17:20:09 +02:00
04064fb186
Cleanup: use DRW_object_is_* for object checks
...
Also use const qualifier for object's.
2018-10-08 10:43:34 +11:00
9f6978a1ba
Eevee: Don't render meshes in hidden wire mode
2018-09-25 22:51:54 +02:00
667add5fc5
Eevee: Implement Wireframe Node
...
This implementation is a bit hacky but match cycles pretty close.
If pixel size is not enabled, it will use the geom shader to
compute distances between vertices. This will have a cost.
Implementation is a bit hacky in gpu_codegen to make the geom shader works
in an optional manner.
2018-09-20 17:53:47 +02:00
Dalai Felinto
cffae36381
Fix build for MSVC: Remove trailing double semicolon
...
Not sure why but MSVC is complaining for some of those.
In particular for the struct in BKE_subdiv_ccg.h. Those were the ones
crashing here..
2018-09-20 14:59:55 +00:00
6b433f4eb3
Merge branch 'master' into blender2.8
2018-09-19 18:20:50 +02:00
93780411e9
LookDev: Use theme background instead of world color
...
This is much less confusing than relying on an hidden parameter (the world
color) that you can only see if you disable the world node tree.
2018-09-18 22:18:49 +02:00
5aa3e33565
LookDev: Use black background color if world is not present
2018-09-18 21:39:53 +02:00
5ae531d813
Cleanup: spelling
2018-09-18 16:35:13 +10:00
731d0d8d0f
Eevee: Fix shader linking error with volumetric shaders
2018-09-17 15:08:14 +02:00
3da5b03b8a
Eevee: Fix crash when using refraction with alpha clip blend mode
2018-09-17 14:46:22 +02:00
68f139db0d
Fix T56800: Reflection Plane in Eevee crashes Blender
2018-09-17 12:20:51 +02:00
ad8b187a53
Fix T56803: Indirect lightning bake crashes Blender
2018-09-17 12:20:51 +02:00
5bf32f3337
Fix T56801: Enabling smoke crashes Blender.
2018-09-17 12:20:51 +02:00
6c6c3bad02
Cleanup: style
2018-09-12 05:57:31 +10:00
5a7c3d5a08
Eevee: Prepare for fullres tracing
2018-09-11 16:15:43 +02:00
aa5c543a7f
Eevee: Fix downsampling shader with textureGather
...
This was leading to issues with all raytracing and AO algorithm.
Fix T55619
2018-09-11 16:15:43 +02:00
a01fe76ded
Eevee: Fix assert when using transparent shadows
...
Was missing some UBO bindings.
2018-09-10 18:05:11 +02:00
a4b18bd1b9
Fix T56627: Crash because of incomplete LightCache
2018-09-10 18:05:11 +02:00
5e7a56dc64
Eevee: Cleanup DoF implementation
2018-09-10 18:05:11 +02:00
ec64cad5a8
Eevee: Lookdev: Fix memleak
2018-09-10 18:05:11 +02:00
6b551c0b8c
Eevee: Depth of Feild: Fix ringing issue of background objects
...
There was an issue caused by Antialiasing being done after DoF. Move TAA
after DOF and Motion Blur.
Also certain pixel with lower CoC would be spread all over the background
because the neighbooring pixel have higher CoC. So we need to apply some
bilateral filtering when downsampling. Currently we limit the influence of
neighbor pixels with a CoC inside the range [MaxCoC-2, MaxCoC].
2018-09-09 23:26:14 +02:00
0a26c122ed
Eevee: Fix missing meshes on Win + Intel HD 530/540
...
This is only a workaround. The real issue should be adressed by the
driver team upstream.
2018-09-03 14:38:06 +02:00
42f7767dab
Cleanup: rename files from group to collection to match contents.
2018-08-29 16:25:50 +02:00
32e57fe4e7
GPUFramebuffer: Fix wrong stencil clearing
2018-08-16 23:57:59 +02:00
Dalai Felinto
b2966b70fe
EEVEE: Volumes - get current frame from depsgraph
...
The value from scene is not up to date at all times.
2018-08-14 16:07:52 -03:00
04067a54c0
GPUShader: Fix previous "old Nvidia" fix commit
...
Note to myself, next time, better check the fix before pushing it.
GL_ARB_texture_gather is defined if there is support for the extension
not only when the extension is enabled. Do this check ourself with
GPU_ARB_texture_gather define.
Original fix 822de6e9e1
2018-08-13 23:09:48 +02:00
822de6e9e1
Fix T55802 shader compile bug with texture gather on old Nvidia card
...
The extension GL_ARB_texture_gather is reported to be supported and does
not trigger an error when enabled but the textureGater functions are not
defined.
Workaround is to disable the use of this extension on such systems.
2018-08-13 23:01:18 +02:00
2cbffc8e40
Eevee: Fix assert with object volume rendering
2018-08-10 16:16:35 +02:00
c009b09f12
Eevee: Fix Clearcoat intensity
2018-08-08 21:27:33 +02:00
b8fc6317c7
Eevee: Remove per material SSS toggle
...
This is because we can now optimize the use of SSS on shaders based on
socket input values.
2018-08-08 21:27:33 +02:00
cac43e1765
Eevee: Use "constant folding" for the principle shader
...
This is more like a static optimisation when some parameters are set to 1.0
or 0.0. In theses case we use a more optimized version of the node.
This also revisit the transmission parameter behaviour to make it closer to
cycles.
2018-08-08 21:27:26 +02:00
82352565b7
Eevee: Remove some of the non-necessary uniforms
...
The remaining ones are from the attributes linear/srgb switches and from
nodes that should be pruned before running their _gpu function.
2018-08-08 21:26:49 +02:00
fa0f938b11
Eevee: Fix assert with hair drawing
...
This remove unused clip_block when not needed and the useless ubo bind that
were put there for the sake of not crashing.
2018-08-03 09:49:31 +02:00
2a8413a0dd
Eevee: Don't show probe display when not using scene lighting
...
The display is broken otherwise.
2018-08-02 21:12:08 +02:00
9887b32e73
Eevee: Fix missing UBO bind.
2018-08-02 20:52:07 +02:00