Quantcast
Channel: Recent Discussions — Unknown Worlds Forums
Viewing all articles
Browse latest Browse all 42799

textur tutorial

$
0
0
hey everyone again.
i have noticed that there is no topic fore how to make textures and two guys pm me and ask how to.
so i'm gonna  to post a small tutorial



you have to save your picture as a dds file
(DX5 : ARGB : 8bit : Interpolated Alpha .DDS)
 
pixel size 1024x1024 or 512x512
let's say you save it as (test1.dds)


you will also need to do a Normal map and Specularity map
and call them test1_normal.dds and test1_SPEC.dds

make a folder with the name of your texture library called (for example) my_texture
and save the folder in
 
C:\Steam\steamapps\common\natural selection 2\ns2\materials\my_texture


now when you have those 3 files + the folder you have to create a material file
and open it in notepad ++ or a similar program

copy this code


shader = "shaders/Level.surface_shader"
albedoMap = "materials/my_textur/test1.dds"
normalMap = "materials/my_textur/test1_normal.dds"
specularMap = "materials/my_textur/test1_SPEC.dds"

surface = "rock" 


or "metal"




Viewing all articles
Browse latest Browse all 42799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>