diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-12-30 00:56:41 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-30 14:24:29 +0100 |
commit | c19632128c84e1190b95d1b18baf56ffe306e192 (patch) | |
tree | e48f9903422b8ff627da6739cd2911ae0b101fdd /Userland/Libraries/LibGfx/Vector4.h | |
parent | 69da279073db68b53956e2e2f1c96f86e48ce0c9 (diff) | |
download | serenity-c19632128c84e1190b95d1b18baf56ffe306e192.zip |
LibGL+LibSoftGPU: Implement texture coordinate generation
Texture coordinate generation is the concept of automatically
generating vertex texture coordinates instead of using the provided
coordinates (i.e. `glTexCoord`).
This commit implements support for:
* The `GL_TEXTURE_GEN_Q/R/S/T` capabilities
* The `GL_OBJECT_LINEAR`, `GL_EYE_LINEAR`, `GL_SPHERE_MAP`,
`GL_REFLECTION_MAP` and `GL_NORMAL_MAP` modes
* Object and eye plane coefficients (write-only at the moment)
This changeset allows Tux Racer to render its terrain :^)
Diffstat (limited to 'Userland/Libraries/LibGfx/Vector4.h')
0 files changed, 0 insertions, 0 deletions