Planar Reflection again, doesn't work
by Robert Pinter · in Torque 3D Professional · 09/19/2012 (4:48 am) · 2 replies
Hi Guys,
I try to make a custommaterial and using the ReflectBump shader to get a reflected floor on my model.
I have tried all the solution what I found on the forum, but I couldn't get it to work.
Can you help me how I can make a planar reflection in T3D?
I tried,
new CustomMaterial(CustomMtl)
{
MapTo = "image";
texture[1] = "$backbuff";
texture[0] = "image_d";
texture[2] = "image_n";
shader = ReflectBump;
version = 2.0;
};
I tried with singleton custommaterial and sampler, but did't work.
I use DAE model or dts, but the same problem.
Thanks
I try to make a custommaterial and using the ReflectBump shader to get a reflected floor on my model.
I have tried all the solution what I found on the forum, but I couldn't get it to work.
Can you help me how I can make a planar reflection in T3D?
I tried,
new CustomMaterial(CustomMtl)
{
MapTo = "image";
texture[1] = "$backbuff";
texture[0] = "image_d";
texture[2] = "image_n";
shader = ReflectBump;
version = 2.0;
};
I tried with singleton custommaterial and sampler, but did't work.
I use DAE model or dts, but the same problem.
Thanks
About the author
Some of my old programming stuff. [URL] http://www.youtube.com/user/satanka102/videos [/URL]
#2
Thanks anyway.
Any another solution please?
09/19/2012 (4:23 pm)
Thanks, that is a good idea, however it is not a best idea for a normal mapped floors I think. It can be good for mirrors for instance.Thanks anyway.
Any another solution please?
Torque Owner Ivan Mandzhukov
Liman3D