Zwip-Zwap Zapony
Member
After compiling the currently-latest version of the "Next" branch of the game (though with the "Colour Changing MD2s" merge request's two changed files included), I've noticed MD2 models in OpenGL are lighted from the right. The angle which is right-wards for the Thing, that is.
Here's an image of the issue. The "head" of the spring was given the solid colour 0 192 0, and the "spring" of the spring was given a gray gradient. You can easily see the issue on the head of the spring.
If an MD2 is applied to a Thing which always faces the camera (such as Rings or normal springs), the MD2 will face the camera while still lighted from the right, resulting in the light always coming from the player's/screen's left. (In the image above, I replaced a diagonal spring, so I could angle the model as I wanted.)
Personally, I feel like it would be better even if all models were lighted straight from the top and straight down-wards, but as it currently stands, models are lighted straight from the right and straight to the left, which looks really weird. If they're not going to be lighted straight from the top, I would appreciate if the lighting angle is regardless of the Thing's angle.
Note: As this is compiled from the "Next" branch of the game with the "Colour Changing MD2s" merge request included, I am not sure whether this also happens in the released 2.1.14, but I assume it does.
Here's an image of the issue. The "head" of the spring was given the solid colour 0 192 0, and the "spring" of the spring was given a gray gradient. You can easily see the issue on the head of the spring.
Personally, I feel like it would be better even if all models were lighted straight from the top and straight down-wards, but as it currently stands, models are lighted straight from the right and straight to the left, which looks really weird. If they're not going to be lighted straight from the top, I would appreciate if the lighting angle is regardless of the Thing's angle.
Note: As this is compiled from the "Next" branch of the game with the "Colour Changing MD2s" merge request included, I am not sure whether this also happens in the released 2.1.14, but I assume it does.