Notifications
Clear all

[Closed] Delegate question in scripted material plugin

Hey everyone,
I am trying to modify a scripted material plugin. It is an extension of the standard material. It has a slot for normal maps but when it delegates it uses
“delegate.bumpMap = given_map”

This of course makes the material render incorrectly because it renderes a normal map as a bump, is it possible to make the map automatically use a normal bump map?

Thanks,

2 Replies

replace

delegate.bumpMap = given_map

with

delegate.bumpMap = normal_bump normal_map:given_map

so simple thank you so much!