Closed zturtleman closed 4 months ago
It would be closer if offset texcoords like in https://github.com/ioquake/ioq3/commit/ae0878ca618a737d7f8e843e8f4867bd34712cbe but tcGen environment will repeat and access other lightmaps.
Never mind, offsetting it should be fine. tcGen environment is a sphere map; it doesn't pan outside of the 0.0 to 1.0 range.
In q3dm0, the blue monitor above the crosshair is incorrect in OpenGL2 with r_mergeLightmaps 1.
opengl1 renderer: (OpenGL2 looks similar with r_mergeLightmaps 0.)![shot0048](https://github.com/ioquake/ioq3/assets/405505/a3a89f3d-6ae3-401a-a95d-65bae3d623e2)
OpenGL2 renderer:![shot0049](https://github.com/ioquake/ioq3/assets/405505/e88ce3b4-897b-41ec-a9f8-e6e8631862d9)
The shader
textures/base_wall/comp3c
shader uses a stage:r_mergeLightmaps 1 combines the lightmaps. It would be closer if offset texcoords like in https://github.com/ioquake/ioq3/commit/ae0878ca618a737d7f8e843e8f4867bd34712cbe but tcGen environment will repeat and access other lightmaps.