summaryrefslogtreecommitdiffstats
path: root/doc/classes/BaseMaterial3D.xml
Commit message (Collapse)AuthorAgeFilesLines
* Add class descriptions for Texture2DArray, CubemapArray and ↵MJacred2022-09-081-1/+1
| | | | | | ImageTextureLayered, plus overhaul TextureLayered Co-authored-by: Clay John <claynjohn@gmail.com>
* Implement Physical Light Units as an optional setting.clayjohn2022-08-311-3/+6
| | | | | | This allows light sources to be specified in physical light units in addition to the regular energy multiplier. In order to avoid loss of precision at high values, brightness values are premultiplied by an exposure normalization value. In support of Physical Light Units this PR also renames CameraEffects to CameraAttributes.
* Improve documentation for BaseMaterial3D's alpha scissor thresholdHugo Locurcio2022-08-291-1/+1
|
* Rename ParticlesMaterial to ParticleProcessMaterialMicky2022-08-261-1/+1
| | | | Also affects their file names, related classes and documentation.
* Merge pull request #64739 from Calinou/doc-anisotropic-filterClay John2022-08-221-2/+2
|\ | | | | Improve documentation related to anisotropic filtering
| * Improve documentation related to anisotropic filteringHugo Locurcio2022-08-221-2/+2
| |
* | Merge pull request #58600 from Calinou/material-triplanar-sharpness-clampRémi Verschelde2022-08-221-0/+2
|\ \ | |/ |/|
| * Clamp BaseMaterial3D triplanar sharpness to values that never look brokenHugo Locurcio2022-02-271-0/+2
| |
* | [doc] Use "param" instead of "code" to refer to parameters (8)Andy Maloney2022-08-121-1/+1
| |
* | Rename the argument tag to param in XML documentationYuri Sizov2022-08-081-9/+9
| |
* | Tweak StandardMaterial3D's default height propertiesHugo Locurcio2022-08-041-2/+16
| | | | | | | | | | - Set the default height scale to 5.0 and multiply it by 0.01 in the shader. - Document heightmap properties in BaseMaterial3D class reference.
* | Treat specular less than 0.02 as occlusionclayjohn2022-07-311-1/+1
| | | | | | | | This is a very common hack used in almost all PBR renderers to allow removing specular contribution in dielectric materials
* | Document what the Z component is used for in BaseMaterial3D UV coordsAaron Franke2022-07-231-4/+4
| |
* | Always sample the heightmap with linear filtering in BaseMaterial3DHugo Locurcio2022-06-141-0/+1
| | | | | | | | | | | | | | | | Nearest-neighbor filtering of the heightmap results in a broken appearance, with and without Deep Parallax enabled on the material. Linear filtering results in a more expected appearance. This does not affect other texture maps such as albedo, normal or roughness.
* | Rename BaseMaterial3D properties to use fully spelled out "texture"Hugo Locurcio2022-05-241-9/+13
| | | | | | | | | | | | | | | | | | | | This is more consistent with other BaseMaterial properties such as `ao_texture_channel`. This also improves the documentation related to `albedo_texture_force_srgb`. This also fixes a typo in the 3.x material converter.
* | Fix typos with codespellRémi Verschelde2022-05-231-1/+1
| | | | | | | | Using codespell 2.2-dev from current git.
* | Merge pull request #59419 from Calinou/doc-basematerial3d-detailRémi Verschelde2022-04-301-6/+9
|\ \
| * | Improve documentation related to detail mapping in BaseMaterial3DHugo Locurcio2022-03-221-6/+9
| |/
* / Implement Label3D node.bruvzg2022-04-221-1/+13
|/ | | | | | | | | Add "generate_mipmap" font import option. Add some missing features to the Sprite3D. Move BiDi override code from Control to TextServer. Add functions to access TextServer font cache textures. Add MSDF related flags and shader to the standard material. Change standard material cache to use HashMap instead of Vector.
* Use Filament specular models and parametrizationclayjohn2022-02-221-10/+5
|
* Add an XML schema for documentationHugo Locurcio2022-02-151-1/+1
| | | | | | | | This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
* Fix normal map descriptionskyace652022-01-091-2/+2
|
* Move metallic and roughness automated assignment to an inspector UndoRedoSaracenOne2022-01-061-3/+0
| | | | callback.
* Merge pull request #56293 from skyace65/CullModeMaterialRémi Verschelde2022-01-051-3/+3
|\ | | | | Fix and improve cull mode description in material
| * Fix and improve cull mode description in materialskyace652022-01-041-3/+3
| |
* | Document the expected format of anisotropy flowmaps in BaseMaterial3DHugo Locurcio2021-12-311-3/+6
|/
* Merge pull request #54910 from ↵Rémi Verschelde2021-12-021-0/+3
|\ | | | | | | | | Calinou/basematerial3d-texture-auto-roughness-metallic Set roughness/metallic to 1 when assigning a texture in BaseMaterial3D
| * Set roughness/metallic to 1 when assigning a texture in BaseMaterial3DHugo Locurcio2021-11-131-0/+3
| | | | | | | | | | | | | | | | This makes material setup faster and avoids mistakes, especially with the metallic channel which defaults to 0. The value is only changed when adding a texture when none was previously assigned, not when assigning a different texture.
* | Replace Godot docs URL with `$DOCS_URL` in XML class referenceRémi Verschelde2021-11-151-1/+1
|/
* doc: Update links to latest documentation after content reorganizationRémi Verschelde2021-10-061-1/+1
|
* doc: Fix style inconsistencies for `[b]Note:[/b]` paragraphsRémi Verschelde2021-10-051-2/+2
| | | | And fix up formatting not supported by makerst.
* Document that tangents are required for normal mapping in BaseMaterial3DHugo Locurcio2021-10-011-1/+2
|
* moved particle parameters to minmax and split scale axisQbieShay2021-08-221-1/+1
| | | | | | | This commit adds quite a chunk of modifications to particles - particle (value + randomness) now use min and max instead - passing a curveXYZtexture is now possible and will scale particles per-axis - CPUParticle3D have an optional parameter to split the scale curve per-axis
* doc: Use self-closing tags for `return` and `argument`Rémi Verschelde2021-07-301-30/+15
| | | | | | | | For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
* Fix Subsurface Scatteringreduz2021-07-051-2/+0
| | | | | | * Works again * Transmittance also works again * Removed the curve patamter, exp() function is good enough.
* Better format arguments in variant parserMichael Alexsander Silva Dias2021-06-181-8/+8
|
* Removes deleted OrenNayar mode from shaders and materialsYuri Roubinsky2021-06-081-4/+1
|
* Rename GI Classesreduz2021-06-051-1/+1
| | | | | | | * GIProbe is now VoxelGI * BakedLightmap is now LightmapGI As godot adds more ways to provide GI (as an example, SDFGI in 4.0), the different techniques (which have different pros/cons) need to be properly named to avoid confusion.
* Fix documentation following implementation of particle trailsMarcel Admiraal2021-05-011-1/+5
|
* Document that clearcoat/rim lighting is not visible on unshaded materialsHugo Locurcio2021-04-281-0/+2
|
* class reference proofreadingPaul Joannon2021-03-191-2/+2
|
* doc: Sync classref with current sourceRémi Verschelde2021-03-101-33/+33
|
* Document that BaseMaterial3D doesn't support height mapping + triplanarHugo Locurcio2020-12-121-0/+2
| | | | See #44322.
* Alpha Hash and Alpha2Coverage ImplementationMarios Staikopoulos2020-11-021-2/+23
|
* doc: Improve distance_fade documentationJustin Lee2020-09-291-2/+4
| | | | | | | | | | | Changed the documentation of distance_fade_max_distance and min to be consistent with the behavior of the code as well as the user documentation. Also noted the behavior of swapping max_distance and min_distance (where max_distance < min_distance). Fixes #36051. Co-authored-by: Clay John <claynjohn@gmail.com>
* Merge pull request #41579 from Calinou/doc-basematerial3d-billboard-modeRémi Verschelde2020-09-281-0/+1
|\ | | | | Document the BaseMaterial3D billboard mode not being suited for VR
| * Document the BaseMaterial3D billboard mode not being suited for VRHugo Locurcio2020-08-311-0/+1
| | | | | | | | See #41567.
* | Add link titles for all links in the class referenceHugo Locurcio2020-08-311-1/+1
|/ | | | | This makes them display in a nicer way in the editor help. (The title will display instead of the full URL.)
* Document the expected normal map coordinate system where relevantHugo Locurcio2020-05-041-0/+2
|
* doc: Sync classref with current sourceRémi Verschelde2020-04-201-1/+1
| | | | Add missing enum bindings.