summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2017-11-09Remove get_default_video_mode definition on OSX/iOSRémi Verschelde
It had been missed in d09160a8b67fdc60e8108962c4e9bd4c0bc7f13e and broke compilation for those platforms. Took the opportunity to run clang-format on the code base to fix some corner cases that went through our static tests/were overlooked recently.
2017-11-06Remove performance warnings, closes #11585Juan Linietsky
2017-10-31Improved WASAPI driver logic when devices are connected or disconnectedMarcelo Fernandez
2017-10-30Add viewport to the other SceneData struct.Ferenc Arn
This was missed in #12288.
2017-10-30Merge pull request #12288 from tagcup/expose_viewport_sizeJuan Linietsky
Expose VIEWPORT_SIZE in shader language.
2017-10-29Disable logging until the logs location is sorted outRémi Verschelde
Temporary workaround for #12277.
2017-10-27Fix shader compiler typo gl_FrotFaceScayze
2017-10-26Expose VIEWPORT_SIZE in shader language.Ferenc Arn
Fixes #11710.
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-20Fixed unnecesary structure copying in bugfix.Juan Linietsky
2017-10-19Fix depth draw alpha prepass for shadowHiroshi Ogawa
2017-10-17Fix directional light specularHiroshi Ogawa
2017-10-15Merge pull request #12060 from mutato/windows_folder_creation_fixRémi Verschelde
DirAccessWindows: fix wrong path given to CreateDirectoryW, fixes #12019
2017-10-14Fix render mode specular schlick ggxHiroshi Ogawa
2017-10-13Fixed issue #12019, which prevented the creation of new folders on Windows ↵Falk Moser
platform
2017-10-12Merge pull request #12048 from hi-ogawa/fix-viewport-vflipRémi Verschelde
Fix viewport vflip
2017-10-12Merge pull request #12009 from Elinvention/fork/execvpHein-Pieter van Braam
Use execvp instead of execv to allow OS.execute() to search through PATH.
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-11Merge pull request #11958 from hi-ogawa/fix-shadow-map-front-faceGilles Roudiere
Fix front face definition
2017-10-11Use execvp instead of execv to allow OS.execute() to search through PATH.Elia Argentieri
Fix #12003.
2017-10-10Merge pull request #11959 from hi-ogawa/fix-shadow-atlas-invalidationAndreas Haas
Track LightInstance::shadow_atlases so that it will be freed properly
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-09Merge pull request #11827 from hi-ogawa/fix-shader-type-errorRémi Verschelde
Fix type error in subsurface scattering shader code
2017-10-09Merge pull request #11810 from marcelofg55/osx_export_improvRémi Verschelde
OS X export code improvements
2017-10-09Track LightInstance::shadow_atlases so that it will be freed properlyHiroshi Ogawa
2017-10-09Fix front face definitionHiroshi Ogawa
2017-10-04Fix type error in subsurface scattering shader codeHiroshi Ogawa
2017-10-03Avoid failed viewport when size is too smal, fixes #9891Juan Linietsky
2017-10-03OS::execute can now read from stderr too when executing with a pipeMarcelo Fernandez
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 #11568 from endragor/loggersAndreas Haas
Extract logging logic
2017-10-02Merge pull request #11700 from tagcup/clearcoat_fixAndreas Haas
Fix clearcoat without Schlick-GGX specular.
2017-10-02Merge pull request #11716 from marcelofg55/coreaudio_driverPoommetee Ketson
Merged iphone and osx audio drivers into drivers/coreaudio
2017-10-02Merge pull request #11774 from ISylvox/fix-msvc-buildLeon Krause
Fixed MSVC build issue introduced by c864b78
2017-10-02Fixed MSVC build issue introduced by commit ↵Indah Sylvia
c864b782c05f5e2833afd69a4c0dfc6fbcfc4b26
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.