]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - docs/manual/quake3/Terrain_Manual/pages/terrain_texture.html
error check and bail if permission denied during gamepack install
[xonotic/netradiant.git] / docs / manual / quake3 / Terrain_Manual / pages / terrain_texture.html
1 <html>\r
2 \r
3 <head>\r
4 <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">\r
5 <meta name="GENERATOR" content="Microsoft FrontPage 4.0">\r
6 <meta name="ProgId" content="FrontPage.Editor.Document">\r
7 <title>The Terrain Texture</title>\r
8 </head>\r
9 \r
10 <body background="../pics/background.jpg" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">\r
11 \r
12 <b>\r
13 <p align="center"><font size="5">The Terrain Texture</font></p>\r
14 <div align="right">\r
15   <table border="1" cellspacing="1" width="100%" bordercolor="#808080" bgcolor="#000000" cellpadding="10">\r
16     <tr>\r
17       <td width="100%"><font FACE="Times New Roman">\r
18 <p>In Q3:TA, there are two \93terrain\94 textures in the common shader script.\r
19 One handles all the uses of terrain where the designer does not want \93dust\94\r
20 to rise up as the player jumps onto the terrain (common/terrain). The second\r
21 (common/terrain2) has an enable_dust surface parameter. The terrain texture\r
22 should be applied to all visible (in game) surfaces of the terrain entity.</p>\r
23 <p>Q3map looks for the word \93terrain\94 in the name of the shader when\r
24 texturing terrain entities. If a shader is used without the word\r
25 &quot;terrain&quot; in it, and it\92s not marked as nodraw, q3map will still do\r
26 a planar projection, but using that texture. It will not blend between textures,\r
27 however. This can be used to create hard edge texture transitions, or in cases\r
28 where you want to apply textures manually, and aren\92t concerned about\r
29 blending.</p>\r
30 <p>If the terrain texture is applied to a non-terrain entity brush, the surface\r
31 will not draw. The projected terrain surface textures only work on surfaces that\r
32 are a part of entities with the proper terrain entity keys and values.</p>\r
33 <p>Their scripts for terrain are as follows:</p>\r
34 </font><font FACE="Courier New">\r
35 <p><font size="2">textures/common/terrain<br>\r
36 {<br>\r
37 surfaceparm nodraw<br>\r
38 surfaceparm nomarks<br>\r
39 surfaceparm nolightmap<br>\r
40 }<br>\r
41 textures/common/terrain2<br>\r
42 {<br>\r
43 qer_editorimage textures/common/terrain.tga<br>\r
44 surfaceparm dust<br>\r
45 surfaceparm nodraw<br>\r
46 surfaceparm nomarks<br>\r
47 surfaceparm nolightmap<br>\r
48 }</font></p>\r
49 </font>\r
50 \r
51 <p align="center"><a href="creating_the_alphamap.html">Back</a> - <a href="table_of_contents.html">Table\r
52 of Contents</a> - <a href="blocking_vis.html">Blocking Vis</a></p>\r
53 \r
54         <p>&nbsp;</td>\r
55     </tr>\r
56   </table>\r
57 </div>\r
58 </b>\r
59 <p>&nbsp;</p>\r
60 <p>&nbsp;</p>\r
61 <p align="center">-17-</p>\r
62 \r
63 </body>\r
64 \r
65 </html>\r