Browse Source
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.
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.readme
7 changed files with 77 additions and 1 deletions
-
41Assets/Scripts/Game/GameAssets.cs
-
3Assets/Scripts/Game/GameState.cs
-
14Assets/Scripts/Modules/RenderModule.Interop.cs
-
9Assets/Scripts/Modules/RenderModule.cs
-
1engine/Quake/gl_texmgr.h
-
4engine/Quake/r_brush.c
-
6engine/UniQuake/gl_uniquake.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue