Can't delete Physical Sun & Sky


#1

So I have this scene that has Physical Sun & Sky in it, but somebody deleted the Sun Directional Light and now I can’t get rid of it all.

When I hit ‘Delete’ in the render settings > Indirect Lighting > Physical Sun and Sky I get an error in the Script Editor saying:

"// Warning: file: C:/Program Files/Autodesk/mentalrayForMaya2014/scripts/mentalrayUI.mel line 254: (Mayatomr.Script): no sun direction found // "

does anybody have any ideas as to how I can delete this, as I no longer want Physical Sun and Sky in my scene.

Cheers,

Amy


#2

The “Create Physical Sky” button creates three a few nodes.

-sunDirection
-mia_physicalsun shader
-mia_physicalsky shader
-mia_exposure_simple shader

A quick search for anything “mia_*” in Hypershader or Outliner(with “Show DAG objects only” unchecked) should reveal them. And then turn off Final Gathering if you’re not using it.