How can I get the height texture of a waterFilter?
Why is there no get-method?
The issue is that this data is in the GPU.
I don’t really see the point in fetching the height texture on the WaterFilter.
Actually you can load it with the asset manager if you need it
assetManager.loadTexture(“Common/MatDefs/Water/Textures/heightmap.jpg”);
If you want the “real” water height, as Normen said, it’s computed on the GPU.
Thanks for the answers.
@nehon said:
I don't really see the point in fetching the depth texture on the WaterFilter.
Actually you can load it with the asset manager if you need it
assetManager.loadTexture("Common/MatDefs/Water/Textures/heightmap.jpg");
I didn't explain enough, sry.
The thing is that I set a custom Height-Texture before and then I want to get the assetName of the texture.
Like it works with Materials...