Closed lukaswagner closed 3 years ago
When setting the wrap mode for a 3D texture, the parameter for r is applied to TEXTURE_WRAP_T. This means it is not correctly used for wrapping depth coordinates, but also overwrites the parameter previously specified for height wrapping.
https://github.com/cginternals/webgl-operate/blob/c8fa49d4da11a13d17bb1fd88a64f4695c94701d/source/texture3d.ts#L279
When setting the wrap mode for a 3D texture, the parameter for r is applied to TEXTURE_WRAP_T. This means it is not correctly used for wrapping depth coordinates, but also overwrites the parameter previously specified for height wrapping.
https://github.com/cginternals/webgl-operate/blob/c8fa49d4da11a13d17bb1fd88a64f4695c94701d/source/texture3d.ts#L279