Re: ocean beach surface underwater tile - SOLVED
Posted: Sat Jan 24, 2015 5:08 pm
I am not expert myself, dont worry. Unfortunately I didnt have time try minmay solution yet... as for my which is little buggy, you need just to create and use this objects for underwater. If you do not know how to create water tiles etc, check Skugg videos which are hereGranamir wrote:I'm not an expert like you...i understood almost nothing about your solution...is there something like copy-paste solution?
Or can you explain what i have to do considering i'm not an expert?
Thank you very much
viewtopic.php?f=22&t=7055
defineObject{
name = "water_no_surface",
baseObject = "base_floor_decoration",
components = {
{
-- updates global reflection and refraction maps
class = "WaterSurface",
planeY = -0.4,
fogColor = vec(0.042, 0.09, 0.26) * 0.5,
fogDensity = 0.2,
--planeY = -0.4,
reflectionColor = vec(0.77, 0.9, 1.0) * 0.9,
refractionColor = vec(1,1,1),
},
{
-- builds a continuous mesh from underwater tiles
class = "WaterSurfaceMesh",
offset = vec(0,-7,0,0),
material = "water_surface_calm",
underwaterMaterial = "water_surface_underwater",
offset = vec(0, -1.25, 0),
},
},
dontAdjustHeight = true,
editorIcon = 264,
}