Problems with Hydrax and Caelum: horizon

brunobg

21-12-2010 14:45:26

I've posted this on the Caelum forum, but since I got no replies I'm trying it here. Sorry for cross-posting. I'm having trouble to integrate Hydrax and Caelum. I've read all earlier posts about this, but I still can't solve these issues.

First, the moon is seen though it's underwater:

[attachment=0]screenshot_2.png[/attachment]

Second, there's a "second sea" at the horizon. This does not seem to happen without Caelum. I thought it'd be some sort of z-far LODing, but changing Hydrax' mesh size parameters does not seem to have any effects... Notice that the reflection is present, but the "horizon" is at the meeting of the two seas (there's a white line between them, by the way).

[attachment=1]screenshot_1.png[/attachment]

I've tried to add the they HydraxDepth technique to the Caelum material files and I added that call to setDisableReflectionCustomNearCliplPlaneRenderQueues(), as explained in previous posts, but they didn't work. Any tips? Thanks!