vraysky background alpha?

Is there a way to set vraysky (environmental background) to have opaque alpha?
thanks

hi

I noticed this once before… I think you might need to place the sky map in the enviromental override channel or the max enviroment channel or both, try it but it might not work.

@ruebenad - still transparent

with after fx it’s possible, (for example with a png or tga file) when you import the file after fx tell you some options (or if it didn’t just press ctrl+F on you pic in the after FX project window), and into that you have three option for the alpha : multiply, direct and “ignore” (or something like that my french version tell me “ignorer” ) if you check this option (ignore) your background apear and you can save it in other format like jpeg to put it behind your uncompressed file in photoshop…

best regards

a workaround would be having a sphere surrounding the scene that is invisible to the camera but sets alpha to 1.

Regards,
Thorsten

That’s really funny, 'cause I always put the VRaySky in a dome light since it gives better shadow casting than if you leave it in the environment, but there’s no way that I can find to make the dome light visible and have a negative alpha (since we usually photoshop our skies). Maybe this would work better for you?

Shaun

If you put the sky in a vray dome light and set it to visible it will render the sky with an opaque alpha, make sure “store with irradiance” is checked and it will work just like the env.

well its quite simple. The sky will be preserved if the image’s alpha is ignored in comp.

yeah - i really want this feature… it’s been asked for but guess it’s not that straight forward…

technically if you render to 24 bit targa the alpha wont be preserved, and the background sky will remain.

I didn’t notice that me an Shaun posted at the same time, I’d vote for an alpha override for the Dome too, I like the reflections but not at the cost of doing an extra alpha pass.

thank you for the tips guys.
@instinkt - sphere, visible to camera, with checked “matt” and alpha=1 options in vray properties become invisible to renderer but opaque in alpha. thank you
@RErender, ShaunDon - vraysky in vray dome light. I didn’t tried this till now but really works. It will become my prefered method because I use dome light for lighting all the time. Thank you

I need this because Multimatrenderelements don’t see opacity maps. I set objects with opacity maps in the material to alpha=-1 to get their masks. But the sky was problem till now.

Eureka! - found a way to remove the dome light from the alpha…

Rerender - use camera clipping. Even with the far clipping range on the maximum value of 9999999, you get the illumination from the Dome Light, Objects reflecting the sky, and a lovely crisp alpha channel…

oooh, nice one :grin:

Am I missing something here?

I want my dome light sky visible to cam, reflect & create GI but no alpha. When I try far clipping the sky is no longer visible to the camera, just the same as when you make it invisble.

When you tried this ReRender & sv was the dome light map still visible to the camera and not the alpha?

Cheers,
Olly

I figured it out. Should of looked into it a bit more before posting!

Instanced the domelight map to the environment slot…