You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nico de Poel
c9a3d0430c
First implementation of dynamically updated lightmap textures. These are uploaded from the Quake engine to Unity on map load, and whenever a lightmap texture changes.
It has been tested and found (mostly) working by manipulating the UVs on surface meshes, applying the lightmap as main texture, and using an unlit shader. This is not part of the commit.
5 years ago
..
QConstants.cs
Defined a bunch more data for brush models and initial marshaling of model data
5 years ago
QConstants.cs.meta
Implemented uploading of skin texture data to Unity, and linking loaded alias models to their primary skin texture
5 years ago
QExtensions.cs
Reworked coordinate and rotation conversion from Quake to Unity. It still feels weird, but entity models are now seemingly oriented correctly, and some strange edge cases with entities rotating in the wrong direction have been cleared up.
5 years ago
QExtensions.cs.meta
Some renaming and reorganization
5 years ago
QLightNormals.cs
First test converting models from Quake into Unity meshes, including normals and UVs. It's still far from perfect (back side UVs are not handled at all yet) but it's a good demonstration of what will be possible.
5 years ago
QLightNormals.cs.meta
First test converting models from Quake into Unity meshes, including normals and UVs. It's still far from perfect (back side UVs are not handled at all yet) but it's a good demonstration of what will be possible.
5 years ago
QMath.cs
Reconstruct brush model data based on glpoly_t data generated by GLQuake. We can now successfully display BSP maps in Unity!
5 years ago
QMath.cs.meta
Some renaming and reorganization
5 years ago
QModel.cs
Keep hold of surface flag when converting brush model surfaces, and use this to identify liquid surfaces during material creation. Liquids now have their own material with the option to apply alpha blending depending on the type of liquid.
5 years ago
QModel.cs.meta
Some renaming and reorganization
5 years ago
QTexture.cs
Cache brush surface texture numbers instead of re-marshaling them on each access. Fixes textures getting mixed up on brush model entities after map switch.
5 years ago
QTexture.cs.meta
Implemented uploading of skin texture data to Unity, and linking loaded alias models to their primary skin texture
5 years ago