An idea just popped into my head, never tried it but could be of use..... 2 views/cameras or even scenes 2 sprite containers
Layer order top to bottom: 4: away3d view - never renders track 3: sprite - track fog alpha shapes 2: away3d view - track render only 1: sprite - track fog alpha shapes Possible... not quite sure will give desired effect but could be an interesting experiment. On 26 November 2010 01:32, Julien <[email protected]> wrote: > Hi all ! > > I have looked on internet for any workaround to get the fog to apply > only on a particular object. > I think the message was quite some time ago, so i wonder if there is > any particular solution for that right now? > > As you all know, the fog is apply to the whole screen, so its > impossible to have a visible background behind it. > > I have seen that DepthBitmapMaterial was a kind of workaround to get > almost the same kind of desired effect while applying only on the > desired Mesh. > But, is there any other options ? > > Here are my settings : > > I use : Away3D 3.4; > I load a racing track which is quite big, so to get a performance gain > i use a MaxZ Clipping.( I would like to add the fog effect only on > this track mesh actually). > > Since now, i have always used a simple clipping, and i think i can > continue with it, actually the fog is not necessary for my project but > i have to say that it add an incredible atmosphere. > > Thank you very much for any help ! > Regards. > Julien.
