mobilemedved
-
Posts
4 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by mobilemedved
-
-
I make infinite water on HLSL. On Nuclear Basic http://forums.nuclearglory.com/index.php?tid=4836&tpg=2
1. Make object Plane
2. Apply water shader to it
in game cycle:
Plane position = camera position
Scroll plane texture on shader automatic
//vertex shader v2f v(a2v In) { v2f Out = (v2f)0; float4 Po = float4(In.position.xyz,1); float3 Pw = mul(Po,world).xyz; Out.pos = Pw; Out.eye = viewInv[3].xyz; Out.position = mul(Po, wvp); Out.viewpos = Out.position; //automatic sroll water if player move Out.uv.xy = (In.texCoord+Pw.xz)*textureScale; Out.uv.zw = (In.texCoord2+Pw.xz)*textureScale; return Out; }
O! "Water mode: When checked, a water plane will appear everywhere in the scene"
http://www.leadwerks.com/werkspace/page/tutorials/_/scene-panel-r3#section3
- 1
-
Use non transparent water ? How make it?
-
I bought today Ledwerks engine. In my vacation home in forest i dont have internent:( Leadwerks dont start:( This not good. There is a solution?
Flightsim
in General Discussion
Posted
I make flightsimI too. Need scale terrain in editor, for make level, vegetation, building. This problem not solved?