Page MenuHome

Fix T100649: Regression: Environment texture is stretched when added to mesh
ClosedPublic

Authored by Clément Foucault (fclem) on Sep 2 2022, 5:19 PM.

Details

Summary

The new code was not using the correct default attribute. Add access to
g_data.P through node_tex_coord_position() to replace the old
GPU_builtin(GPU_VIEW_POSITION) which was used before.

Diff Detail

Repository
rB Blender

Event Timeline

Clément Foucault (fclem) requested review of this revision.Sep 2 2022, 5:19 PM
Clément Foucault (fclem) created this revision.
This revision is now accepted and ready to land.Sep 5 2022, 8:56 AM