ScriptSpot

Forum topic · Scripts Wanted

light shadow control with script

By dussla · 2012-07-05

Description

1.

i made direct01 light

aftet that , i tested some with script

select $direct01
$.castshadows = on

but that did not work

2.i would like to change shadows map type with script

area shadow
vray shadow
advance ...

i would like to change map type with script, but i can't see that fucntion max help

Comments (2)

Follow this

barigazy · 2012-07-05


dLight = $direct01
dLight.baseObject.castShadows = on
dLight.shadowGenerator = shadowMap()
dLight.shadowGenerator = raytraceShadow()
dLight.shadowGenerator = Area_Shadows()
dLight.shadowGenerator = Adv__Ray_Traced()
dLight.shadowGenerator = VRayShadow()
dLight.shadowGenerator = VRayShadowMap()

wow thank you

dussla · 2012-07-05

always thank you
you are really really god ~