mental ray Materials and Texture Repository and Tutorials - MrMaterials

3ds Max 2008 Portal light tip

Tried the mr Sky Portal yet? Good stuff eh? Well, don't forget that you can use the mr Sky Portal lights for more than just skylight portals. They work great for visible area lights as well. In this tip I'll show you how you can add kelvin temperature control to the sky portal lights and use them in your scenes as area lights.

In the first step you'll need to modify the base.mi file to remove the hidden tags from the two shaders in the light utility section. So, open the base.mi file in your favorite text editor and scroll down towards the bottom to the "Light utils" section. Once there you'll place a pound sign in front of the "hidden" tags on both the mib_cie_d and the mib_blackbody shaders.

Next, you'll need to modify the apply type on both as well. These shaders are actually light shaders and can currently only be applied to light sources...HOWEVER, you can simply add the apply type "texture" and you'll be able to use them as a texture map to give the portal lights kelvin capabilities.

Here's a visual of my base.mi file highlighting the changes I outlined above:
(be sure to add the comma after "apply light")

Once the base.mi modifications are complete, add a mr Skylight Portal to your scene. In the advanced parameters rollout enable "Visible to Renderer" and select custom for the color source. Click the button next to Custom that's currently labeled "None" and assign either the mib_cie_d or mib_blackbody shader. Of course you'll need to drag an instanced copy of that shader to the material editor in order to modify the color/temperature and brightness.

And here's an example render using two portal lights with cie_d shaders applied (click to enlarge).


I did not use any indirect illumination in these examples because I wanted to illustrate the portal lights diffuse illumination of the scene. But remember the mr Sky Portal obviously works great with FG, but they also will emit photons if you wish to use them with GI.

Blog entries may be discussed in the 3DA forums HERE

Copyright © Crazy Design Firm All rights reserved.

Top Desktop version

order buspar overnight order generic alavert liquid ivermectin horse wormer baclofen maximum daily dosage buy cheap tamoxifen online best generic viagra pills buying tofranil in manchester can i order flovent no prescription in the usa hydrochlorothiazide and cold medicine safe keflex buy mail-order benadryl prednisone pills used for suppliers of eulexin in us buy yagara mexican pharmacies how to buy metformin in canada acheter pas cher evista where can i purchase cytotec levitra 10 mg vardenafil to buy lipitor in uk prednisolone doctors online brahmi gadi katha telugu movie online megavideo diamox drugs side effects carbonic anhydrase propranolol 80 mg tablet probalan overnight delivery buy liv 100mg online celebrex free shipping trandate to buy in england etodolac tablets for purchase aspirin drug store online buy over the counter betoptic online current price isoptin viagra soft shoppers drug mart isoptin prescription coupon voveran shortage buy cleocin discount levitra coupon 1 free pills india baclofen price uk buy nolvadex without prescription craigslist usa cars new york where to buy alligators online farm raised vardenafil for women danazol legal in england exelon non perscription countries buy toradol online overnight tegretol shortage 2011 flagyl overnight generic caverta overnite shipping tetracycline pregnancy emedicine cheap viagra professional 40 mg cymbalta buy without anacin delivery uk can you buy cafergot over the counter there generic brand micardis what does flagyl er generic prilosec switzerland how long does it take for buspar to take effect order antabuse over the counter the cost effectiveness of rosuvastatin therapy lopid lawsuit prednisone alcohol webmd lopid cost comparison acai discount coupon snovitra super power non perscription countries flagyl birth control online mexico dostinex to buy in the usa without a prescription effexor xr without prescriptions purchase mexitil online no prescription cheap sumycin free delivery trazodone sleep next day can u get high snorting trazodone levitra 20mg tab schering best and cheapest place to live in the uk viagra for women does it work generic viagra online no prescriptions which uk site to buy erythromycin buy accutane 80 mg seroquel dose for depression wellbutrin medicine children phentermine uk side effects canadian pharmacy styplon abilify without a script femara buy india can you take rosuvastatin daily brand effexor xr for sale buy albendazole in australia get lisinopril las vegas zyrtec side effects uk calan sr medicine toprol xl 50 mg ortho tri cyclen lo missed 2 pills where can i order yasmin norvasc in the uk now where purchase diltiazem research grade avodart levitra side effects taking cheap abana online pharmacy buy retin-a 0,05 without rx can you buy metformin over counter better than penegra blopress without prescription miami amantadine (antiviral medication) can be used depression and anxiety medication while pregnant safe deltasone buy viagra soft in canada what is the normal dose of methotrexate for rheumatoid arthritis canadian pharmacies online reviews order tamoxifen online without rx generic indinavir buy canada haldol for men sale in uk buy cleocin gel generic albendazole dosage for cats lamictal western australia albenza order canada cheap minocycline sale uk ginseng overnight sleeping pack zetia tablets uk zoloft tablet sale what is myambutol mg used to treat buy oxytrol new zealand online post cycle therapy hytrin can you order zyrtec online safe place protonix shortage 2010 celexa for sale uk order hyclate buy doxycycline finax 1mg tablets metformin 500mg er pcos parlodel next day what does aspirin look like dilantin us companies only vantin roche precio argentina buy elimite online no prescription united states safe to buy generic atorlip-20 from usa flagyl online from uk aristocort without prescription miami med cab didronel where to buy amaryllis flowers in nyc alli reviews 2013 cheap cipro mg bupropion 100mg tablets side effects anabuse for sale danazol online uk wellbutrin wiki zmax azithromycin alcohol where to buy doxycycline with no prescription topamax 25 mg tabletas lipitor price comparison usa pletal side effects headache can i get high on crestor sominex low dose birth control how long do side effects of anafranil last buy ditropan online from india buy levothyroxine 75 no prescription synthroid mcg buy speman online pharmacy ephedraxin paypal best birth control pills no weight gain buy atorlip-10 mexican pharmacies biaxin how to buy genuine lasix best price buy alligators all around lyrics revatio sales 09 canadian alliance physiotherapy regulators alliance recognition average cost of clomid without insurance comprar retin-a ge en argentina isoptin pills drugstore can you buy valtrex at walgreens georgia kamagra shop london buy shatavari next day buy albendazole us 400mg side effects of lamisil tablets prescription solutions overland park ks number order floxin drugs dosage buy moduretic overseas generic levitra offers que precio tiene el roacutan en mexico strattera to buy from europe what is metmorfin vermox shop are cipla drugs safe pharmacy cialis imitrex tablets us online prednisolone drug in uk pharmacy buy cardizem 100 comprar levothroid pela internet best 1000 games minocycline canada prescription differin woldwide shipping buy furosemide 100 mg best place to order neurontin in us viagra cialis rx prandin prices at costco lisinopril-hydrochlorothiazide generic prograf legal in england zyvox buy canada diovan from china tulasi theatre marathahalli online booking how much does lexapro cost benzac australia fast bupron sr delivery lov cost differin insulin tolerance test growth hormone how to use methotrexate champix dosage schedule generic uroxatral medication lozol generic zofran side effects reviews how much is benicar without insurance buying prescription drugs from canada legal or illegal is generic uroxatral available in usa what is the cost of celebrex without insurance ginseng side effects long term use zyloprim no script where can buy viagra in malaysia vasotec in india is lithium polymer better than lithium ion buying cytotec using paypal online seroquel purchase cheapest order zithromax generic cialis viagra levitra can you buy haridra online discount zithromax uses 500mg best site for buying viagra artane medicine children is cialis super active a prescription drug get ephedraxin toronto buy bentyl no prescription cheap tretinoin 0,025 mg tablet when is lexapro generic medicamento sertralina 50 mg where to buy inderal online canada why has aceon been discontinued wellbutrin xl side effects weight gain can i make reglan buy astelin cheap generic leukeran order canadian apcalis sx tablet what is lypothin triamterene hctz online pharmacy nitroglycerin tablets 40mg current live oil price metformin order international to buy bactrim cialis 200mg dosage what all does topamax treat voltaren dosage for dogs female viagra next day buy zanaflex online no prescription us order cialis professional tablets all types flovent pills how long does it take for motrin 800 to start working cialis pharmacy mail order buy eulexin online usa levitra generic wikipedia drugs periactin syrup uses celexa dosage instructions cheap crestor no prescription can your buy generic singulair bristol-myers squibb (bms) lecture theatre dept. of chemistry does hyaluronic acid cause weight gain astelin 20 mg ambien 10mg women can inderal cause weight gain american cancer society methotrexate roxithromycin sandoz and alcohol toradol for sale australia celebrex over the counter australia purchase brafix cheap how to take brahmi leaves purchase lisinopril in canada zantac online ordering diflucan italiano 12 volt lithium ion batteries for sale buy saw palmetto oil uk lady era phone orders hydroxycut max men reviews std pills online clonidine side effects glycomet order canada sale norvasc keflex delivery uk cafergot birth control online uk rumalaya gel price in india buy protonix online canada no prescription revia brand positioning nolvadex where to get buy coreg with paypal bactroban ointment uses nose combivent no prescription needed canadian online pharmacy cuanto cuestan las pastillas redustat en mexico imuran maximum dosage how to get ciplox on line can you take elavil daily how to get birth control pills online can you get high from ciprofloxacin hydrochloride order brahmi online side effects of acai berry easy cleanse to buy alavert drug loratadine online minipress purchase how much is maxalt tablets is there a generic for dostinex online nymphomax purchase amoxil online overnight shipping evista phone orders what is the correct dosage of micardis dramamine legal in england overnight nolvadex online bupropion combined with citalopram playboy viagra capsule nike 2011 air max men can buy actos online albenza drugs for sale what is the generic name for aldactone gout medication colchicine dosage slimming tablets boots chemist where to buy precose in canada safely zovirax uk buy online best generic drugs net evecare medication online singulair no prescription ordering benzaclin online where can i buy pletal toradol 10 mg pill buy acai berry seeds generic dostinex for sale on line lukol legal us free or low cost zyban benadryl salep generic cefadroxil for sale on line zanaflex mg canada albendazole online without prescription lotensin over the counter metformin for sale with no prescription medicine baclofen used buy diclofenac with e check effexor xr cheap order levitra plus medication by mail buy citalopram online from usa buying anacin betnovate n price india lamisil continuous spray discontinued buy cipro online canada pham discount medication cheap sumycin uk prevacid next day zolpidem dosage forms aricept generic form cytotec tablets price where can i buy clomid for men nitrofurantoin coupon code buy trazodone 100 experimental drugs for genital herpes how to take clomid 100mg cordarone tablets 150 mg non prescription aciphex baclofen alcoholism dosage reviews on phenergan buy clomid over counter uk chloramphenicol online meds ordering glucophage online discount buy letrozole femara online what is cipro given for purchase imuran pills actos cost canada billig maxalt online kaufen what does mylan minocycline do viagra over the counter ireland prescription side effects of metoclopramide in dogs cymbalta commercial actors singulair sales 2008 billion bactrim drug oversea order citalopram from uk without prescription lansoprazole 15 mg dosage cheap abana online neurosis benfotiamine pharmacy prices list viagra off patent uk florida nitroglycerin professions allied to medicine uk viagra in capsule form buy seroflo online from usa pioglitazone spc estrace medicine online how to use nolvadex with steroids metoprolol tartrate tablets american calan inc northwood nh zantac versus prevacid for infants buy decadron paypal accepted fast cafergot deleviery comprar retin-a 0,025 original buy cheap online no prescription augmentin amoxicillin nizoral shampoo discontinued 2013 order dostinex top 10 online imuran sites retino a 0.025 do you need rx tinidazole bactroban for daily use canada aldactone buy canada vantin tablets from buy how many days to take amoxil canadian zestril tablet best place buy prilosec pct trial erection packs 1 over the counter drugs cheap alli 60mg comprar zithromax online how much is lipothin tablets generic fosamax buy canada clomid 100mg online canadian pharmacy asacol tablets for sale how to buy vytorin chloramphenicol capsules used celexa dosage strengths moduretic spain over counter clomid how to buy paroxetine drug class estrace on line purchase augmentin better than amoxil examples of the importance of india as the pharmacy of the developing world buy clozaril in singapore will toradol get you high no prescription maxaman sale buy online geriforte generic sominex online ordering ordering levitra professional generic online pill store retino-a cream 0,05 canada overnight delivery cheap generic wellbutrin order lasix medication by mail order retin a 0 025 online can i buy ciprofloxacin over the counter buy rhinocort bulk phenergan dose for insomnia generic avalide switzerland diclofenac sodium pills online shopping ordering brand viagra prescription approved is there a generic form of antabuse mail order viagra from canada to us. is it legal. get glycomet las vegas online viagra sample levitra discount canadian pharmacy alavert mevacor drug classification alli diet pills asda canadian pharmacy association journal www.ontility.com canadian-pharmacy-tricor-okpok.php depakote tablets uses can zanaflex cause weight gain topamax discontinued purchase viagra online with prescription leukeran generic reviews do you need prescription viagra canada health canada submissions for generic parenteral drugs mentat medicine online synthroid without a script exelon transdermal patch rivastigmine asacol enema vs suppository buying erexor procardia dosage recommended how long should i take doxycycline hyclate for acne list of tesco stores selling menosan order depakote pill order non generic remeron pills for longer erection in india kaiser mail order pharmacy livermore stilnox tablets side effects elevated estradiol levels menopause otc inhaler for wheezing carbozyne non perscription countries coming off effexor xr symptoms buy genuine depakote uk singulair in canada where to buy celebrex mg buspar canada zyprexa drug schedule where to buy isoniazid online without rx side effects of glucotrol xl mentat online pharmacy uk buy avodart in ireland propranolol no prescription uk novo nordisk estrofem sublingual buy septilin online amazon where can i get elocon from combivent limited india nexium without insurance ortho tri-cyclen drug class is there a drug comparative to yasmin remeron dose zyprexa in italiano plus medicine cheapest buy levitra celexa no prescription needed canadian pharmacy drugs online generic emsam usa pharmacy z pack antibiotics alcohol sale motilium doxycycline 100mg acne dosage evista no prrescription best price for real kamagra gold buy pyridium paypal accepted discount card lipitor copay to buy astelin azelastine allergy where can i buy alli diet pills in england canada generic version of ortho tri cyclen advair diskus shelf life matrix red pill blue pill quote youtube purchase tetracycline in australia mexican pharmacy no prescription septilin do acai berry pills work for weight loss can you buy nizoral at cvs form compare prices clomid where do i amitriptyline in mexico over the counter asthma medication for children viagra sublingual nitroglycerin generic avapro in usa cialis recommended daily dosage comprar nizagara pela internet what is ciprodex 500 used for beat way to order artane half price bupropion levaquin mail order india best place to buy tamoxifen online cialis super active 5mg tablets cheap generic olanzapine levitra dosage levels is it illegal to order generic yasmin allopurinol 100 mg dosage prandin non perscription countries buy anafranil quick citalopram 10 mg therapeutic dose revatio without a prescription from mexico order revia lowest price can isoniazid cause weight gain medrol mg price dapoxetine brands available india when will there be a generic for avodart free ed samples youtube indian drama adalat half price cleocin gel how to use purinethol remeron best price precose italiano how much does actonel cost amoxil prices usa buy ceftin no prescription to buy rosuvastatin seroflo 100 inhaler side effects of metformin tablets torsemide sale tenormin 20mg tab get avalide toronto buy motilium 200 finpecia buy in u.k buy lithium ion battery in india ordering medication buy aciphex can order entocort online cost of glucophage can you buy biaxin over the counter my crestor coupons levitra super active with no rx my lotensin coupons generic uk paypal eulexin current price aristocort buy advair diskus 80 mg online forum order claritin online click here cheap calan 40 mg how to take allimax sale singulair lopressor no prescription canada phenergan with codeine recommended dosage where brahmin handbags are made beta blocker propranolol dosage haridra online in usa celebrex generic available when augmentin limited india viagra sold in the usa kamagra oral jelly mail order what to do when amaryllis is done blooming health canada citalopram dose casodex order by phone atarax online sales generic name tenormin can you buy viagra over the counter in the us best place to buy arjuna