I'm doubtful as to if I've already reported this bug before and I also doubt there is a simple solution given the nature of the problem but sheared props tends to have incorrect lighting datas.
Here is an example with the left prop not being sheared and the right one being sheared on the ZX axis ( both models are the same, both angles are the same )
[
attachment=890]
I don't know if there is a fix to that but i'd be really helpful if there was.
this also happens with vector resized props
I never noticed that personally.
I doubt there's anything I can do about it. The engine controls the lighting and there's nothing obvious that GLua can do to change it.
Sorry to necropost this, but is this anything that gmod/source devs would be able to fix? Gmod is still updated, and I'm fairly sure they have access to source's source code, so they may be able to fix this in an upcoming update.
(18-07-2021, 08:31 PM)тѕсм.Quiru Wrote: [ -> ]Sorry to necropost this, but is this anything that gmod/source devs would be able to fix? Gmod is still updated, and I'm fairly sure they have access to source's source code, so they may be able to fix this in an upcoming update.
I have reported the issue to the garrysmod-issues github but aside from people saying that it might be intentional, no answer from devs yet.
Here is the link to the issue by the way, I dont know if commenting it will get more attention towards the devs but if you wish to add onto it, have fun :
https://github.com/Facepunch/garrysmod-i...ssues/4825
While talking about the problem, I theorized about a solution that could maybe work ? What if instead of shearing the prop's original visual mesh, the tool would create a new visual mesh for the prop and replace the old one. This mesh could potentially have correct normals and work around the problem ?
I do not have enough GLua knowledge to say if it could work but I thought I'd suggest this as perhaps it might just work.
The possible problems I see are perhaps lacks of shading altogether, I dont know if IMeshes can get proper shading, messing up UVs, performances might take a hit ?