summaryrefslogtreecommitdiff
path: root/scene/resources/material.h
AgeCommit message (Collapse)Author
2019-05-21Implement shadow to opacityBastiaan Olij
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-11-21Moved dirty material lists from static to lifetime controlled by main.Ibrahn Sahir
As with 7d82bed4f4cac8f5227d935c0496290e24eb48c8, The list is now destroyed before the OS object, so can print errors if there are unfreed materials.
2018-11-14Ability to toggle flipping of tangent and binormal in depth parallax ↵Juan Linietsky
materials. Fixes #15934.
2018-11-04Remove animation loop from ParticlesMaterial + improvements to CPUParticles2DJFonS
Remove animation loop from ParticlesMaterial and move it to SpatialMaterial for 3D particles and Particles2D for the 2D case. Added animation to CPUParticles2D as well as the "Convert to CPUParticles2D" to the PAarticles2D menu.
2018-10-03Fix some warnings raised by MSVC 2017Rémi Verschelde
Disabled signed/unsigned warnings like for GCC/Clang (warning C4018: '>=': signed/unsigned mismatch). Fixes the following MSVC 2017 warnings: ``` core\image.cpp(999): warning C4804: '>': unsafe use of type 'bool' in operation core\io\compression.cpp(178): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) editor\doc\doc_dump.cpp(226): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) scene/resources/material.h(289): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) scene/resources/material.h(298): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) editor\editor_themes.cpp(379): warning C4805: '==': unsafe mix of type 'int' and type 'bool' in operation ```
2018-09-28-Lightmap and lightmap capture support for GLES2Juan Linietsky
-Added hint to not show some properties when running on low end gfx
2018-09-13Set uniform default values in inspectorJFonS
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-08-22Add distance based dithering to the default material.Juan Linietsky
2018-07-26Added keep scale flag to billboard materialsJFonS
2018-07-17Add disable ambient light flag to shaders and materialsAlex Roman
2018-07-14Visual Shaders are back.Juan Linietsky
2018-06-21Add render mode to ensure correct normals when using non-uniform scalingJFonS
2018-03-29Added flag on SpatialMaterial to disable shadowsJFonS
2018-02-21Fix typos with codespellluz.paz
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-14-Add lightmapperJuan Linietsky
-Fixes to unwrapper (remove degenerates), makes Thekla not crash -Added optional cancel button in EditorProgress -Added function to force processing of events (needed for cancel button)
2017-12-06-Fix particles with size==0, closes #13931Juan Linietsky
-Fixed material previews (dont show sphere unless for spatial)
2017-12-04-Implemented Proxy Textures (needed to solve the problem with ViewportTexture)Juan Linietsky
-Properly use hierarchy to initialize resources local to scene (solves problem of GUI in 3D)
2017-11-15-Ability to choose operator for emission, closes #10441Juan Linietsky
-Ability to use proper operator for GI Probe, closes #10534 -Closes #12938 as it's no longer needed (thanks for the work though)
2017-10-23Revert "Rename Schlick GGX to GGX."Rémi Verschelde
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-19Fix spatial shader conversion with textureHiroshi Ogawa
2017-10-01Switched Burley/Lambert, and restored diffuse term to 0-1 range for ↵Juan Linietsky
compatibility.
2017-09-23Added light affect parameter to baked AOJuan Linietsky
2017-09-22Ability to convert from SpatialMaterial to ShaderMaterialJuan Linietsky
2017-09-21Added proximity and distance fade to SpatialMaterialJuan Linietsky
2017-09-05hide next pass for material types that make it pointless, closes #10686Juan Linietsky
2017-09-03Added transmission shader parameter.Juan Linietsky
2017-09-02Made triplanar local space by default, world space optionally, closes #10159Juan Linietsky
2017-09-01Removed ontop property, added a material rendering priority system. Fixes ↵Juan Linietsky
#9935, closes #10135
2017-08-31Merge pull request #10401 from maxim-sheronov/fix_particles_spritesheetRémi Verschelde
Fix UV calculation for spritesheet in particles
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-23Fix UV calculation for spritesheet in particlesMaxim Sheronov
Fix names of uniforms and make correct uv offset calculation
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-08-Restored Sprite3D to working function, fixes #2061, fixes #9738Juan Linietsky
-Restored an alpha scissor property in Material
2017-08-02-Added GLTF scene support (still missing animations and .glb extension)Juan Linietsky
-Fixed bugs regarding tangent generation in SurfaceTool
2017-07-22Several changes to better run in mobile.Juan Linietsky
2017-07-08Some adjustments to toon material to make it more flexibleJuan Linietsky
Ability to also disable specular
2017-07-08Added triplanar mapping, toon mode, and more specular modes for materials. ↵Juan Linietsky
Added multipass support for materials.
2017-07-08-Added triplanar mapping modesJuan Linietsky
-Some fixes to shader lang
2017-06-28Reworked translation systemJuan Linietsky
-Label and Button reload translation on the fly -Resources are loaded and reload depending on locale
2017-06-15Rename Godot-specific resource extensionsGeorge Marques
2017-06-05-working SCREEN_TEXTURE, SCREEN_UV shader variablesJuan Linietsky
-Added refraction support for default material -Enabled BCS adjustments, as well as color correction.
2017-06-04Added depth texture support (using parallax) to default material.Juan Linietsky
2017-06-01Rework shading modes and change location of light shaderJuan Linietsky
2017-05-31rewritten PBR implementation to make it friendlier with BlenderJuan Linietsky
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde