summaryrefslogtreecommitdiff
path: root/drivers/gles3/shaders
AgeCommit message (Collapse)Author
2017-10-23Revert "Rename Schlick GGX to GGX."Rémi Verschelde
2017-10-22Partially undo #11807.Ferenc Arn
Specular light at zero roughness needs some discussion. Until we do that, this fixes #12309.
2017-10-22Many fixes to SSAO, should be good now.Juan Linietsky
2017-10-22Merge pull request #12297 from tagcup/clearcoat_fixRémi Verschelde
Don't add clearcoat BRDF to specular light as-is.
2017-10-21Don't add clearcoat BRDF to specular light as-is.Ferenc Arn
BRDF needs to be multiplied with N.L, the incoming light and attenuation. Also specular_blob_intensity should affect clearcoat.
2017-10-21Rename Schlick GGX to GGX.Ferenc Arn
Schlick's approximation and GGX are orthogonal concepts. Furthermore, it's usage so far has been inconsistent: we don't even use it with anisotropic SchlickGGX, and Burley (Disney) diffuse does use it while its name doesn't indicate it. The use of Schlick's approximation in Burley and GGX is an implementation detail and doesn't need to be reflected to the namig.
2017-10-21Corrections to #11807.Ferenc Arn
Added missing metallic parameter, also fixed a missed a case where wrong roughness condition was used.
2017-10-21Merge pull request #11807 from tagcup/roughness_metallic_limiting_casesJuan Linietsky
Fix the condition when specular light calculation is avoided (should …
2017-10-14Fix render mode specular schlick ggxHiroshi Ogawa
2017-10-12Merge pull request #12048 from hi-ogawa/fix-viewport-vflipRémi Verschelde
Fix viewport vflip
2017-10-12Fix viewport vflipHiroshi Ogawa
2017-10-11Fix the condition when specular light calculation is avoided (should be ↵Ferenc Arn
roughness == 1). Also avoid calculating diffuse light calculation when metallic == 1, and test against clearcoat's own parameter to check whether to do clearcoat.
2017-10-11Merge pull request #11966 from BastiaanOlij/stereo_skyRémi Verschelde
Fix issues when rendering panoramic sky in stereoscopic
2017-10-11Merge pull request #11818 from tagcup/anisotropic_ggxRémi Verschelde
Fix anisotropic GGX D function, and introduce and use anistropic GGX …
2017-10-10Fix issues when rendering panoramic sky in stereoscopicBastiaan Olij
2017-10-09Fix anisotropic GGX D function, and introduce and use anistropic GGX G function.Ferenc Arn
Also fixed isotropic GGX G function with Schlick approximation, and added a commented out version without the approximation. Added references.
2017-10-04Fix type error in subsurface scattering shader codeHiroshi Ogawa
2017-10-03Various clean ups and cosmetic changes in scene.glsl.Ferenc Arn
Use self-documenting names for variables which are otherwise confusing. Also avoid recalculating certain terms.
2017-10-02Merge pull request #11700 from tagcup/clearcoat_fixAndreas Haas
Fix clearcoat without Schlick-GGX specular.
2017-10-02missing PI division on vertex shaderJuan Linietsky
2017-10-01Slight proposed fixes to PBR.Juan Linietsky
2017-10-01Using advise from Matias, left the 0-1 range for lights, divisiom by PI, and ↵Juan Linietsky
multiplied lights by PI internally.
2017-10-01Switched Burley/Lambert, and restored diffuse term to 0-1 range for ↵Juan Linietsky
compatibility.
2017-10-01Merge pull request #11694 from tagcup/lambert_normalizationJuan Linietsky
Ensure that Lambert is energy conserving.
2017-10-01Add missing N.L factor to Burley's contribution to radiance.Ferenc Arn
2017-09-30Fix environmental BRDF.Ferenc Arn
2017-09-29Ability to set a custom FOV makes it possible to use sky on orthogonal view. ↵Juan Linietsky
Closes #9186
2017-09-29Fix clearcoat without Schlick-GGX specular.Ferenc Arn
Fixes #11698.
2017-09-29Ensure that Lambert is energy conserving.Ferenc Arn
Also remove the diffuse_color factor in Oren-Nayar (which was already taken care of below, oops).
2017-09-29Merge pull request #11672 from tagcup/fix_oren_nayarGilles Roudiere
Fix Oren-Nayar diffuse.
2017-09-28Fix Oren-Nayar diffuse.Ferenc Arn
2017-09-29Fixed typo: 'texure' to 'texture'Indah Sylvia
2017-09-27Fixes to light shaders, should work now..Juan Linietsky
2017-09-26Avoid pow in Burley diffuse.Ferenc Arn
2017-09-23Added light affect parameter to baked AOJuan Linietsky
2017-09-23Fixes to rim parameter in shaderJuan Linietsky
2017-09-21Added proximity and distance fade to SpatialMaterialJuan Linietsky
2017-09-12Many fixes to visual script, changed virtuals override for a proper selector.Juan Linietsky
2017-09-07Fixed orthogonal projection in all effects and post processesJuan Linietsky
2017-09-07Several fixes to directional shadows, closes #10926Juan Linietsky
Added option to change directional light range mode, between optimized and stable. For Orthogonal, you might need to use optimized.
2017-09-06-Fix folow surface in subsurface scattering, closes #10696Juan Linietsky
-Fixed filter kernels of subsurface scattering so quality settings make more sense
2017-09-06Fix frame selection in 2D particles, closes #10668Juan Linietsky
2017-09-05Fix directional vertex shaded light which was using normal instead of light ↵Juan Linietsky
color, closes #10608
2017-09-04Fix opaque pre pass, closes #10472Juan Linietsky
2017-09-04Don't compare float to intHenrik Andersson
2017-09-03Added transmission shader parameter.Juan Linietsky
2017-09-01add shadow_filter variant PCF7letheed
2017-08-31Merge pull request #10417 from bojidar-bg/x-fix-tilemap-transposeRémi Verschelde
Implement texture UV transpose in the gles3 renderer
2017-08-31Merge pull request #10624 from letheed/masterRémi Verschelde
Fix shadow filter pcf5 implemented as pcf7
2017-08-29-Fixed screen edge SSAO filter, fixes #9678Juan Linietsky
-Raised the SSAO limits, making the effect a lot more useful -Still pending to enable tresholding to avoid some hollow places