Sample Alpha?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 30/05/2008 at 09:49, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   9.6 
Platform:   Windows  ; Mac  ;  Mac OSX  ; 
Language(s) :     C++  ;

---------
Hi,

is there a way to sample the alpha channel of a texture/shader (Pluginshader from SHADERLINK)? I can only find Sample and SampleBump().

thx iA

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 30/05/2008 at 10:48, xxxxxxxx wrote:

You have to set the TEX_ALPHA bit in the ChannelData.

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 30/05/2008 at 11:15, xxxxxxxx wrote:

ah, perfect! thx! :)