THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/11/2004 at 12:13, xxxxxxxx wrote:
Cinema 4D Version: 8.500
Platform: Mac OSX ;
Language(s) : C++ ;
I am trying to create a custom RayLight within my shaders Output routine:
Vector JLSData::Output(PluginShader *chn, ChannelData *cd)
if (GET_TEX_CHANNEL(cd->texflag) == CHANNEL_ALPHA || GET_TEX_CHANNEL(cd->texflag) == CHANNEL_TRANSPARENCY) return 1.0;
if (!vd) return Vector(0.0);
if (!licht) return Vector(0.0);
The allocation of my "licht" RayLight fails all the time. Could someone shed some light on this
On 13/05/2005 at 02:22, xxxxxxxx wrote:
It seems the object passed to AllocRayLight() needs to be a light object.
On 13/05/2005 at 03:40, xxxxxxxx wrote:
yes, I found this out already.
Nevertheless thanks for your answer.