Since calculation results are stored based on the normal map, if the diffuse map is different from the normal map, values won't be recalculated with the different diffuse map values.
Potential solution: Create a more complex key for the dictionary that also includes the diffuse map values.
Since calculation results are stored based on the normal map, if the diffuse map is different from the normal map, values won't be recalculated with the different diffuse map values.
Potential solution: Create a more complex key for the dictionary that also includes the diffuse map values.