summaryrefslogtreecommitdiff
path: root/drivers/gles3/shaders/scene.glsl
AgeCommit message (Collapse)Author
2022-12-11OpenGL: Fix scene shader error when using Omni or Spot but not bothRémi Verschelde
Fixes #69886.
2022-12-05Clean up specialization constants in OpenGL scene rendererclayjohn
Also add support for disabling omni and spot lights when not used
2022-12-03Implement CAMERA_VISIBLE_LAYERS as built-in shader variableNumbuhFour
2022-12-03Merge pull request #69522 from clayjohn/IBL-black-metalRémi Verschelde
Allow black metallic materials to reflect IBL
2022-12-02Allow black metallic materials to reflect IBLclayjohn
2022-12-02Properly remap roughness when reading from radiance mapclayjohn
This ensures that we consistently use perceptual roughness which matches the behaviour of most other PBR renderers like Blender, Ue4 and Godot 3
2022-11-21Expose model_matrix in GLES3 scene fragment shaderclayjohn
2022-11-20Merge pull request #68830 from Ayush-singla27/issuebranchRémi Verschelde
fixed incorrect mesh normals in shaders
2022-11-19fixed incorrect mesh normals in shadersAyush Singla
2022-11-14Add GPUParticles to the OpenGL3 renderer.clayjohn
This includes collision (2D SDF, Box, Sphere, Heightmap), attraction (Box, Sphere), and all sorting modes. This does not include 3D SDF collisions, trails, or manual emission.
2022-10-27Merge pull request #66107 from devloglogan/ambient-light-disabled-fixClay John
Fix ambient_light_disabled render mode flag
2022-10-21Add multiview to the opengl3 driverDavid Snopek
2022-09-19enabled ambient_light_disabled render mode flagLogan Lang
2022-09-12Apply energy conservation to LAMBERT_WRAP and TOON diffuse modes by dividing ↵clayjohn
by PI
2022-08-13Implement Octahedral on OpenGL3Omar El Sheikh
2022-08-08Merge pull request #62547 from clayjohn/ref_vec_pbrRémi Verschelde
2022-08-07Add a shadow opacity property to Light3DHugo Locurcio
This can be used to make shadows translucent for a specific light. The light distance fade system also uses this to smoothly fade the shadow when the light fade transition distance is greater than 0.
2022-08-01Fix various bugs in GLES3 renderer that stopped it from running on webclayjohn
2022-08-01Merge pull request #63587 from clayjohn/specular-occlusionRémi Verschelde
Treat specular less than 0.02 as occlusion
2022-07-31Treat specular less than 0.02 as occlusionclayjohn
This is a very common hack used in almost all PBR renderers to allow removing specular contribution in dielectric materials
2022-07-28Rename RenderingServer global shader uniform methods to be more explicitHugo Locurcio
The `global_shader_uniform` name is longer, but it makes it much easier to find the methods when searching in the class reference.
2022-06-29Evaluate specular reflections using specular dominant direction instead of ↵clayjohn
assuming mirror reflections
2022-06-14Implement MultiMesh in 3D and flesh out MultiMesh functionsclayjohn
2022-05-19Fix sky updating when DirectionalLight mode changed and shader compatibility ↵clayjohn
for certain drivers
2022-05-16Add basic lighting to GLES3 renderer.clayjohn
This includes all three light types and IBL, but does not include shadows or any form of GI
2022-05-16Fix computation of screen_uvSomnath Sarkar
2022-05-12Basic 3D renderingclayjohn
2022-05-11SceneShader compilingclayjohn
2022-03-18Rename several transform built-ins in shadersYuri Roubinsky
2022-02-22Use Filament specular models and parametrizationclayjohn
2022-01-11New OpenGL batching canvas rendererclayjohn
2022-01-02Fix various typosluz paz
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change
2021-10-31Use OpenGL 3.3 core profile instead of compatibility profileClay John
- Rename OpenGL to GLES3 in the source code per community feedback. - The renderer is still exposed as "OpenGL 3" to the user. - Hide renderer selection dropdown until OpenGL support is more mature. - The renderer can still be changed in the Project Settings or using the `--rendering-driver opengl` command line argument. - Remove commented out exporter code. - Remove some OpenGL/DisplayServer-related debugging prints.
2020-02-13Remove obsolete GLES3 backendRémi Verschelde
Due to the port to Vulkan and complete redesign of the rendering backend, the `drivers/gles3` code is no longer usable in this state and is not planned to be ported to the new architecture. The GLES2 backend is kept (while still disabled and non-working) as it will eventually be ported to serve as the low-end renderer for Godot 4.0. Some GLES3 features might be selectively ported to the updated GLES2 backend if there's a need for them, and extensions we can use for that. So long, OpenGL driver bugs!
2020-01-21Remove unused #if 0'ed codeRémi Verschelde
2019-12-29Use correct omni light attenuationWinston
fixes godotengine/godot#34683
2019-12-21Merge pull request #34527 from MadEqua/fix-gles3-light-cutoffRémi Verschelde
Fix GLES3 light cutoff.
2019-12-21Fix GLES3 light cutoff.Bruno Lourenço
2019-12-21Fix contact shadow when light is outside of viewport.Bruno Lourenço
2019-12-10Add a default POINT_SIZEclayjohn
2019-12-03Merge pull request #33836 from clayjohn/blinn-fixRémi Verschelde
Fix Specular Blinn function
2019-11-29Disable shadow map sampling when shadows are not used in GLES3PouleyKetchoupp
Fixes #20742
2019-11-22Fix Specular Blinn functionclayjohn
2019-11-19Fix issues with environment mappingclayjohn
2019-09-24Fix copyright headers and style issuesRémi Verschelde
2019-09-18Added skin support and simplified APIs to override bone position.Juan Linietsky
2019-05-23Merge pull request #29031 from BastiaanOlij/alpha_shadowRémi Verschelde
Implement shadow to opacity
2019-05-21Implement shadow to opacityBastiaan Olij
2019-05-19Scale environment lighting correctly in GLES3clayjohn
2019-05-14fix lighting bug introduced in clear color changesclayjohn