Editing Texture

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
A ''texture'' is an image file usually applied to surfaces in [[Map|maps]], or to [[Model|models]].  
A ''texture'' is an image file usually applied to surfaces in [[Map|maps]], or to [[Model|models]]. They are usually in either the [[.jpg]] or [[.tga]] formats. [[Shader|Shaders]] can be applied to textures for various visual effects.


==In Mapping==
==In Mapping==
Textures for use in maps can be found in the various sub-folders of the "textures" folder. [[JKA|JKA's]] [[base]] textures can be found within [[assets1.pk3]].
Textures for use in maps can be found in the various sub-folders of the "textures" folder. [[JKA|JKA's]] [[base]] textures can be found within [[assets1.pk3]].
The textures are usually in the [[.jpg]] format, which is used for a majority of textures like metal, bricks, dirt, sand and other solid and non-solid materials. Other formats such as [[.tga]] and [[.png]] have the so-called alpha channel, which allows to turn them into grids, frames, hedges, fences, plant leafs as well as sprites and semi-transparent surfaces (like water or decorated glass). Skies are also made through textures (6 files in total for different sides) and a special shader.
[[Shader|Shaders]] can be applied to textures for various visual effects, like lights, transparency or animation. Shaders also can affect the textures to be non-solid, make the surface sound like metal or stone, as well as turn the brushes into water, slime or fog.


Jedi Academy and Jedi Outcast only support textures with dimensions (width/height) which are powers of two such as 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, etc.
Jedi Academy and Jedi Outcast only support textures with dimensions (width/height) which are powers of two such as 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, etc.
In [[Radiant|GtkRadiant]] textures are applied to brushes and meshes. It is possible to apply multiple textures to a single brush if a separate surface is selected. Aside from the basic textures (e.g. bespin folder), there are special textures from the folder "System" – these are used to optimise the map, add (non) solid brushes (nodraw), remove unnecessary surfaces (via caulk), add physics to misc_model (physics_clip), block Player from entering certain areas in the map or make a visible trigger.


[[Category:General_Modding]]
[[Category:General_Modding]]
Please note that all contributions to Jedi Knight Wiki | JKHub are considered to be released under the Public Domain (see JKHub:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)