Compatible with Newtek LightWave 9.6 and above.
// LScript Channel Filter - www.StephenCulley.co.uk // // web address: http://www.stephenculley.co.uk // email address: email@stephenculley.co.uk /* LScript Channel Filter - Global Ambient Intensity Channel_GlobalAmbientIntensity.ls */ @version 2.2 @warnings @script channel @name *Global Ambient Intensity // Title sTitle = "*Global Ambient Intensity"; // Version sVersion = "v1.0"; create: channel { setdesc(sTitle); } destroy { // take care of final clean-up activities here } process: ca, frame, time { nValue = ca.get(time); Light = Light(); nValue += Light.ambient(time); // ca ca.set(nValue); } load: what,io { if(what == SCENEMODE) // processing an ASCII scene file { } } save: what,io { if(what == SCENEMODE) { } } options { reqbegin(sTitle + " " + sVersion); // Developer // ctlsep(); ctrl_dev0 = ctltext("","developer: Stephen Culley","http://www.stephenculley.co.uk"); reqend(); }
https://drive.google.com/open?id=1cR_q2GVUAJHumic1-A3eXV16acQnVTWs
No comments:
Post a Comment