virtualx-engine/servers
Omar El Sheikh d274284069 Octahedral Normal/Tangent Compression
Implement Octahedral Compression for normal/tangent vectors
*Oct32 for uncompressed vectors
*Oct16 for compressed vectors

Reduces vertex size for each attribute by
*Uncompressed: 12 bytes, vec4<float32> -> vec2<unorm16>
*Compressed: 2 bytes, vec4<unorm8> -> vec2<unorm8>

Binormal sign is encoded in the y coordinate of the encoded tangent

Added conversion functions to go from octahedral mapping to cartesian
for normal and tangent vectors

sprite_3d and soft_body meshes write to their vertex buffer memory
directly and need to convert their normals and tangents to the new oct
format before writing

Created a new mesh flag to specify whether a mesh is using octahedral
compression or not
Updated documentation to discuss new flag/defaults

Created shader flags to specify whether octahedral or cartesian vectors
are being used

Updated importers to use octahedral representation as the default format
for importing meshes

Updated ShaderGLES2 to support 64 bit version codes as we hit the limit
of the 32-bit integer that was previously used as a bitset to store
enabled/disabled flags
2021-07-30 10:29:09 -04:00
..
arvr
audio Remove duplicate WARN_PRINTS macro 2021-06-18 12:57:59 +01:00
camera
physics Merge pull request #48892 from lawnjelly/bvh_robust 2021-07-22 12:41:42 +02:00
physics_2d Merge pull request #48892 from lawnjelly/bvh_robust 2021-07-22 12:41:42 +02:00
visual Merge pull request #48892 from lawnjelly/bvh_robust 2021-07-22 12:41:42 +02:00
arvr_server.cpp
arvr_server.h
audio_server.cpp Remove duplicate WARN_PRINTS macro 2021-06-18 12:57:59 +01:00
audio_server.h
camera_server.cpp
camera_server.h
physics_2d_server.cpp Fix move_and_collide causing sliding on slopes 2021-07-19 08:09:16 -07:00
physics_2d_server.h Fix move_and_collide causing sliding on slopes 2021-07-19 08:09:16 -07:00
physics_server.cpp Fix move_and_collide causing sliding on slopes 2021-07-19 08:09:16 -07:00
physics_server.h Fix move_and_collide causing sliding on slopes 2021-07-19 08:09:16 -07:00
register_server_types.cpp Remove unused PhysicsShapeQueryResult & Physics2DShapeQueryResult 2021-07-05 11:21:15 -07:00
register_server_types.h
SCsub
server_wrap_mt_common.h
visual_server.cpp Octahedral Normal/Tangent Compression 2021-07-30 10:29:09 -04:00
visual_server.h Octahedral Normal/Tangent Compression 2021-07-30 10:29:09 -04:00
visual_server_callbacks.cpp Portal occlusion culling 2021-07-14 11:43:23 +01:00
visual_server_callbacks.h Portal occlusion culling 2021-07-14 11:43:23 +01:00