hello,Carsten!
i have searched all the source, and didn't found anything about reflect&refract support( at least a render texture and an extra render pass? ), but the gallery contains many water pictures. am i missing something?
is reflect/refract support in Cafu?
Re: is reflect/refract support in Cafu?
The reflection is currently implemented as a "cubemap" reflection, see files
Cafu/Libs/MaterialSystem/RendererCgARB1/Shaders/A_WaterCubeReflect.cpp or
Cafu/Libs/MaterialSystem/RendererARBprogs/Shaders/A_WaterCubeReflect.cpp
for details. In other words, these shaders can reflect the skies, but not the terrain or map objects.
Implementing full reflection is among the most important things to be done in the future - I'll post a new web page with a roadmap for Cafu soon. If you wish to help with the implementation, I'd be very happy about it and your help would much be appreciated!
Cafu/Libs/MaterialSystem/RendererCgARB1/Shaders/A_WaterCubeReflect.cpp or
Cafu/Libs/MaterialSystem/RendererARBprogs/Shaders/A_WaterCubeReflect.cpp
for details. In other words, these shaders can reflect the skies, but not the terrain or map objects.
Implementing full reflection is among the most important things to be done in the future - I'll post a new web page with a roadmap for Cafu soon. If you wish to help with the implementation, I'd be very happy about it and your help would much be appreciated!
Best regards,
Carsten
Carsten
Who is online
Users browsing this forum: No registered users and 140 guests