Re: [cgkit-user] Using textures with alpha in OBJMaterial
Brought to you by:
mbaas
|
From: Matthias B. <mat...@gm...> - 2012-04-05 20:51:49
|
Hi Maik, On 03.04.12 09:08, Maik Riechert wrote: > > I suppose you are only talking about OpenGL rendering, not RenderMan > > rendering, right? > > No, actually I'm doing RenderMan rendering with 3Delight. So is there a > way for it? I guess so, but how? In an obj material, the transparency is specified using the "d" (=dissolve) parameter which is also what's implemented in the corresponding RenderMan shader in cgkit. So you have to store your alpha channel as a separate image and set that image as the map_d parameter. Alternatively, you could grab the generated shader, tweak it and use the modified version instead of the default one (using a RMMaterial object). - Matthias - |