Code: Select all
texture_unit
{
texture floor.jpg
}
texture_unit
{
texture floor_luminance.jpg
colour_op_ex modulate_x2 src_current src_texture
}In the second texture unit, is possible to obtain the luminance from the floor.jpg texture?
now i am adding the second texure file floor_luminance.jpg, but is possible to obtain this luminance from script?