Page MenuHome

Compiled shader lookup fix
ClosedPublic

Authored by Pavel Rudko (PavelRudko) on Jun 21 2018, 10:41 AM.

Details

Summary

I've encounterd into a problem with blender 2.8.
See the example screenshot (scene, shader setup). For some materials it's not enough to calculate hash based on fragment code and defines. In some cases attribute names may change. And if we change uv set name, for example, vertex shader is not recompiled, and another attribute name inside it is used.

Diff Detail

Repository
rB Blender