Planetside Software Forums

General => Terragen Discussion => Topic started by: jfmoyen on January 02, 2007, 07:35:43 am

Title: The default shader: opacity vs. translucency?
Post by: jfmoyen on January 02, 2007, 07:35:43 am
Ok, subject says all.. Could somebody give me some explanations re. the differences between both... and, since we're at it, is there somewhere a presentation of the features and options of the default shader? I'm not quite sure I understand what it is doing, apart from the basics (change color..).

Thanks

JF
Title: Re: The default shader: opacity vs. translucency?
Post by: Njen on January 02, 2007, 08:25:50 am
A quick google would give you answers about translucency.
http://www.google.com/search?q=translucency&ie=utf-8&oe=utf-8&rls=org.mozilla:en-GB:official&client=firefox-a
(2nd entry)

And since both are not supported by TG2 in the tech preview at the moment, you don't have to worry about either of them ;)
Title: Re: The default shader: opacity vs. translucency?
Post by: jfmoyen on January 02, 2007, 08:41:31 am
Quote from: njen on January 02, 2007, 08:25:50 am
A quick google would give you answers about translucency.
http://www.google.com/search?q=translucency&ie=utf-8&oe=utf-8&rls=org.mozilla:en-GB:official&client=firefox-a
(2nd entry)


Hmm, I read your link, I'm not quite sure I see the difference with opacity still. Translucency corresponds to scatter of the light (or at least of some colors), whereas opacity is just blocking of the rays ?

Quote
And since both are not supported by TG2 in the tech preview at the moment, you don't have to worry about either of them ;)


Good point... :)  But I just read a tutorial: [link expired]

In this tutorial (page 8), we place a fern, and the author indicates how to specify both a translucency and an opacity image... I'm puzzled ?

JF

Title: Re: The default shader: opacity vs. translucency?
Post by: Njen on January 02, 2007, 09:06:11 am
In the simplest terms, opacity deals with how visable an object is. Translucency deals with how much light can pass through the object, and how much it absorbs and sends back out at alternative angles.
Title: Re: The default shader: opacity vs. translucency?
Post by: Oshyan on January 04, 2007, 01:24:22 am
Opacity is similar to "alpha" in other programs. It controls visibility of the surface. Translucency is a simple fake for the effect of translucency - light transmission through a material. It helps if you use it on leaves and other foliage to make them look less solid and more realistic. The translucency input just controls the level of transparency via an image map rather than simply specifying a level for it.

- Oshyan