Age | Commit message (Collapse) | Author |
|
|
|
|
|
Oversight by me in #22483. GLES2 doesn't seem to be supporting anisotropy at the moment anyway ---in case it gets revived.
|
|
Restore the Fresnel term in the BRDF.
|
|
|
|
-Android export fixes (use ETC if GLES2 backend in use)
-revert to thekla atlas because xatlas is not working well
|
|
Also changed the mapping of anisotropy to match the common definition.
|
|
Was uncommented in 65fd37c, mostly likely by mistake since its important.
Also made a few corrections of specular -> specular_blob_intensity (gles2).
|
|
|
|
|
|
|
|
It just started working all of sudden..
|
|
|
|
-Added hint to not show some properties when running on low end gfx
|
|
|
|
Also fix style in shaders.
|
|
optimizations, added vertex lighting.
-Did some fixes to GLES3 too
|
|
As of clang-format 6.0.1, putting the `/* clang-format off */` hint
around our "invalid" `[vertex]` and `[shader]` statements isn't enough
to prevent a bogus indent of the next comments and first valid statement,
so we need to enclose that first valid statement in the unformatted chunk.
|
|
|
|
[GLES2] attempt to fix some android problems
|
|
|
|
|
|
|
|
unhacking some GLES2 code
|
|
This commit unhacks some parts of the 3D rendering.
Most notably:
- possibility to use negative texture units
(no longer weird manual index allocation for user samplers)
- refactoring of light code, now sorts in a different way,
should yield better performance
- fixes a crash while saving (because of "Illegal instruction" execution)
when using a decent compiler (clang, it's clang. Thanks GCC for not telling me about UB).
|
|
Roughness is now set to 1 by default and albedo is now white,
even on meshes that do not have any materials defined.
This means there is no longer a visual difference between a
mesh with no materials defined and a mesh with a default
SpatialMaterial defined.
|
|
|
|
This commit adds a new rendering backend, GLES2, and adds a
project setting to enable it.
Currently this backend can only be used on the X11 platform,
but integrating into other platforms is planned.
|