- Home /
Terrain texture will not tile through refractive water
I created a terrain with a riverbed that uses refractive water, the riverbed has a pebble texture along the bottom but the tiling seems to be ignored with the refraction of the water, any ideas on how to control the texture size of the floor through the refracted water? I have attached some screenshots, the top image shows the proper texture size (currently set to 1), when I add the water plane it blows up the texture and the texture size setting no longer has any effect it just locks to that size.
Thanks in advance for any help!
Answer by rob5300 · Nov 17, 2014 at 09:55 AM
I could only guess this is due to how the refraction happens? Possibly it is being rendered on the water at that materials tiling. Try setting the tiling on the water to 1 also.
Answer by mostlyhuman · Nov 18, 2014 at 01:26 AM
Im using the Daylight Water material with the FX/Water shader and it doesnt appear to give you any tiling options and unfortunately its the only water solution i can figure out that looks closest to what im trying to achieve. :/
Next time, make sure to just comment on your question or my answer!
To answer the reply, if you have knowledge or anybody here does in shaders you could possibly modify it to allow some kind of modification of the "resolution" the mesh of the water renders at. For now try changing the scale and see if that affects it or any other options. $$anonymous$$aybe try a larger mesh that you can downscale? Info here http://docs.unity3d.com/$$anonymous$$anual/HOWTO-Water.html