Commit Graph

21 Commits

Author SHA1 Message Date
Martin Mittring
59db2201f8 Fixed SubsurfaceScatteringProfile, recent full resolution mix caused discoloration
#lockdown:Zachary.EdgertonJones

[CL 2390345 by Martin Mittring in Main branch]
2014-12-16 16:01:12 -05:00
Martin Mittring
9372a89316 better quality for SubsurfaceProfile, full res for the non subsurface scattering light contribution (appears sharper but can be tweaked very quickly changing the SubSurfaceColor brightness)
[CL 2384584 by Martin Mittring in Main branch]
2014-12-10 18:28:58 -05:00
Martin Mittring
79395a24aa fix / improve
FORT-2471 Player character appears blurry with certain video settings
(Blurry is now only on Subsurface, there it could be a bit better using the non subsurface constribution as full res)

[CL 2383733 by Martin Mittring in Main branch]
2014-12-10 11:59:36 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Daniel Wright
ce1ba4c953 TwoSided Foliage shading model
* Diffuse lighting on the opposite side of the leaf becomes subsurface lighting on the side being shaded.  SubsurfaceColor filters this lighting and can be used to represent varying thickness as well (leaf veins).  Subsurface lighting is a mix of wrap-around diffuse with a directionally dependent lobe.
* Opacity only affects shadow falloff distance

[CL 2353634 by Daniel Wright in Main branch]
2014-11-07 16:56:07 -05:00
Martin Mittring
5c1516bde7 fixed SubsurfaceSSS for splitscreen (minor extra cost even for non splitscreen but that can be optimized later)
[CL 2338750 by Martin Mittring in Main branch]
2014-10-23 13:36:07 -04:00
Martin Mittring
42e456cfd0 added histogram visuzalization ot HDRVisualize for debugging (disabled by default)
[CL 2334895 by Martin Mittring in Main branch]
2014-10-20 16:39:50 -04:00
Martin Mittring
a89c25bbdb fixed SubsurfaceProfile look
[CL 2331709 by Martin Mittring in Main branch]
2014-10-16 11:33:04 -04:00
Martin Mittring
4c75833788 improved SubsurfaceProfile quality (no artifacts on half res upsample, more crisp non subsurface), refactoring
[CL 2330637 by Martin Mittring in Main branch]
2014-10-15 16:18:43 -04:00
Martin Mittring
1cbde4cefe * optimized ScreenSpaceSubsurfaceScattering (4 pass: setup, blurX, blurY, recombine)
* fixed reallocation of scene render targets because of Skylight, was wasting VRam

[CL 2317878 by Martin Mittring in Main branch]
2014-10-02 17:19:02 -04:00
Martin Mittring
e9b57ff57c optimized screen space subsurface scattering with minor quality loss
r.SSS.HalfRes allows to go back to full quality

[CL 2308966 by Martin Mittring in Main branch]
2014-09-24 18:17:05 -04:00
Martin Mittring
599cdde389 Optimized ScreenSpaceSubsurface
* Removed extra pass-through pass
* Added scalability option r.SSS.SampleSet 0/1/2, later this can be used per pixel
* added to BaseScalability
* Renamed r.SSSSS to r.SSS.Scale

[CL 2286659 by Martin Mittring in Main branch]
2014-09-05 17:48:09 -04:00
Michael Trepka
df6230580a Fixed OpenGL shader compile error in PostProcessSubsurface (TTP #344724)
#codereview Martin.Mittring

[CL 2270517 by Michael Trepka in Main branch]
2014-08-25 11:08:39 -04:00
Martin Mittring
59a345ddee * improved VisualizeSSS
[CL 2268164 by Martin Mittring in Main branch]
2014-08-22 19:06:13 -04:00
Martin Mittring
3ff4d619d4 * added support for MaterialInstances for SubsurfaceProfile
* added VisualizeSSS to debug ScreenSpaceSubsurfaceScattering

[CL 2267686 by Martin Mittring in Main branch]
2014-08-22 14:15:05 -04:00
Martin Mittring
b58ae4285d * added new shading model Subsurface_Profile, can specify SubsurfaceProfile asset on the material, create it in content browser
no backscattering yet, might replace Preintegrated and Subsurface shading models, can be optimized, postprocess pass only runs if an object on the screen is using it, uses SeparableSSS by Jorge Jimenez and Diego Gutierrez

[CL 2236313 by Martin Mittring in Main branch]
2014-07-29 17:33:28 -04:00
Martin Mittring
c5d87597d4 * optimized ScreenSpaceSubsurfaceScattering shader cost
[CL 2132652 by Martin Mittring in Main branch]
2014-07-03 18:15:01 -04:00
Martin Mittring
ddda67bce4 * fixed ScreenSpaceSubsurfaceScattering - no SSS color but uses caucasian skin table, next: artist control over the table
[CL 2125816 by Martin Mittring in Main branch]
2014-07-02 18:14:53 -04:00
Brian Karis
c786202246 Renamed Material Lighting Model to Material Shading Model.
[CL 2089198 by Brian Karis in Main branch]
2014-05-30 07:55:38 -04:00
Brian Karis
bed52dac94 Increased number of shading models to 256.
[CL 2088945 by Brian Karis in Main branch]
2014-05-29 18:02:55 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00