PhysicsMod
PhysicsMod copied to clipboard
Incorrect Normals [BUG]
Describe the bug "Dynamic Blocks" that can be moved by the player have incorrect normals, they are always pointing upwards instead of matching the geometry. In the attached screenshot, you can see a reference block in the middle showing the world-space normals. The left-most block is a regular, non-dynamic grass plant. The right-most block is a physics-enabled tall-grass plant.
To Reproduce You can display the raw normal values using "Arc" [shader] and the "Deferred Normals" debug view.
Screenshots

Minecraft Version: 1.19.2 Physics Mod Version: v97
When dynamic-block physics are enabled, it cause the lighting to be done incorrectly - making things much brighter than they should be when sun is above.
OFF:

ON:

As we discussed in the discord there is no current proper way to fix this. In case anything changes on this subject I will try to fix it. Will leave this issue open for the future!
EDIT: as further discussed in discord the best solution is probably a button (in dynamic block settings menu) to switch the shading for PBR stuff.
Hey, not sure if this is the same/similiar subject, but many Dynamic Blocks, look... weird, off? with this option turned on with PBR shaderpack and RP. Here's a screenshot for refference. When moving the pixels are often flickering, like weird artefacts.
Here's how the doors look without Dynamic Blocks enabled:
On top of that, there's also this "line" (and basically weird looking plants) on many vegetation with dynamic blocks enabled, that when I shift, it goes lower. Really odd.
Again, sorry if it should be in other issue or in a completely new one, wasn't sure
same issue, the normal/tangent/midcoord attributes are incorrect/unset.