Commit Graph

9 Commits

Author SHA1 Message Date
Daniel Wright
bbffb27aaf Fixed specular on movable skylights
* Removed double normalization from stationary skylight specular

[CL 2239230 by Daniel Wright in Main branch]
2014-07-31 19:39:39 -04:00
Martin Mittring
b8e4c1f3da * fixed Skylight/indirect lighting for ScreenSpaceSubsurfaceScattering
* fixed negative colors from SkyLight computations in base pass

#code_review: Daniel.Wright

[CL 2187599 by Martin Mittring in Main branch]
2014-07-10 11:10:07 -04:00
Brian Karis
29c87eafd7 Added clear coat shading model. Fixed incorrect reflection capture filtering.
Needs some clean up still. Standard deferred reflections not implemented yet. Tiled deferred reflections needs some optimization. ClearCoat and ClearCoatRoughness needs to be exposed to the material editor.

[CL 2118481 by Brian Karis in Main branch]
2014-06-26 16:40:05 -04:00
Daniel Wright
1464dcf2c3 Distance field AO using a surface cache
* Provides mid-range stable AO for dynamic rigid meshes
* Movable sky lights are now supported, and distance field AO is used for shadowing Movable sky lighting from dynamic scenes
* Static meshes are preprocessed into signed distance field volumes at mesh build time when the r.AllowMeshDistanceFieldRepresentations project setting is enabled
* Non-uniform scaling does not work with this method (mirroring is fine), animating through world position offset also causes artifacts as the two representations diverge
* Occlusion is computed along cones to reduce over-shadowing, object distance fields are operated on directly (no hierarchy) to obtain enough resolution to prevent leaking, visibility traces are done with cone stepping to allow better parallelization, and shading is done adaptively in space and time using the surface cache.

[CL 2093556 by Daniel Wright in Main branch]
2014-06-03 15:53:13 -04:00
Brian Karis
9871b021d7 Fixed dependency. Unbacked out change.
[CL 2060185 by Brian Karis in Main branch]
2014-04-30 14:14:19 -04:00
Bob Tellez
c59bebc734 Back out changelist 2059445. This change introduced a dependency on a shader called "MonteCarlo.usf" in ReflectionEnvironmentShaders.usf which does not exist.
#codereview Brian.Karis

[CL 2059473 by Bob Tellez in Main branch]
2014-04-29 21:59:35 -04:00
Brian Karis
e7f39636a1 Diffuse from captures.
Reflection environment refactor, optimization and clean up. Fixed blending bug with layered cubemaps. Added diffuse from captures as alternative to lightmaps. Still tied to cvar.

[CL 2059445 by Brian Karis in Main branch]
2014-04-29 21:59:12 -04:00
UnrealBot
db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00