Swimmable Water: Difference between revisions
No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
Select the face that is going to be the surface (Ctrl - Shift - LMB) and texture it with a nice water texture, for example Water_source/water_clear. | Select the face that is going to be the surface (Ctrl - Shift - LMB) and texture it with a nice water texture, for example Water_source/water_clear. | ||
http:// | http://img46.imageshack.us/img46/3431/poolscreenshotix7.jpg | ||
Do not assign the water texture to the whole brush, or you will see this: (You can also get rid of that z-fighting by dragging the brush into the wall so that it insersects with it.) | Do not assign the water texture to the whole brush, or you will see this: (You can also get rid of that z-fighting by dragging the brush into the wall so that it insersects with it.) |
Revision as of 17:17, 10 September 2006
written by angua
Create some walls
In this example, I made this little rectangular pool, but you can also use differently shaped structures.
Fill in your water
Draw a brush that is going to be your water volume and texture it with common/nodraw
Create the entity
In DarkRadiant: Select your brush, RMB -> Create Entity -> func_liquid
In the Entity Inspector you can see that the classname is now func_liquid, and the name func_liquid_1 (or a higher number if there are also other water sources present) It should also have a blue outline in the orthographic view (The XZ Front in this case)
Texture the surface
Select the face that is going to be the surface (Ctrl - Shift - LMB) and texture it with a nice water texture, for example Water_source/water_clear.
Do not assign the water texture to the whole brush, or you will see this: (You can also get rid of that z-fighting by dragging the brush into the wall so that it insersects with it.)
Test your water
And there it is!