[Closed] enableHardwareMaterial in scripted material
i’m creating a scripted material for exporting purposes that extends the standard material & replaces the UI. basically it’s plugging in textures into specific slots of the delegate (standard) material. everything is working fine except normal maps. on material create i have…
delegate.bumpMap = Normal_Bump ()
delegate.bumpMap.normal_Map = Bitmaptexture filename:""
when the user selects a texture, the normal bump gets updated. if i render, this looks fine. however, i want it to behave like i’ve set the “show hardware map in viewport” toggle on the material – the normal is displayed on the mesh in the viewport (rather than render). unfortunately, the scripted material doesn’t allow this – just “show standard map…” i’ve tried setting this via the delegate on material create…
enableHardwareMaterial delegate true -- doesn't seem to work
but no dice. anyone know how i can force this?
bumping… y’know… just in case
still wrestling with this. any help would be greatly appreciated!