Hi, in my script, when i make a render, its good in internal render but in cinerender i see the colour but not the texture … someone can help me ?
DEFINE TEXTURE “TextureS” imagemat, .72,.72 ,128+256,0
DIM COLOR[3]
COLOR[1] = RGB_R/255
COLOR[2] = RGB_G/255
COLOR[3] = RGB_B/255
DEFINE MATERIAL “materiau” 21,
colour_RS/255, colour_GS/255, colour_BS/255,
2, ! ambiant
0.9, ! diffuse
0, ! specular
0.0, ! transparence
0, ! brillance
0, ! transparence att
ind (fill, “50 %”), 61,
ind (texture, “TextureS”),
additional_data C4D_ChCol_State = 1, ! turn on the channel
C4D_ChCol_Texture = “1”, ! add a shader to the channel
C4D_ShColor_Color_1 = COLOR,
C4D_ChCol_Image = “2”,
C4D_ShColor_file_2 = “TextureS”