Jump to content

Home

shadder n00b


Code

Recommended Posts

greetings

 

1st i appologize if this was asked before

but i didnt found it :p

 

ive been trying to do shadders for my custom texture

im using this as a ref (got better ones ?)

 

the main reason y i wanted to do shadders are :

 

- when i use custom texture from far it appears weird

- so i was wondering do i need a basic shadder ?

 

- im trying to make glow a lava texture

- how can i do this ?

 

(lava shadder from the game)

textures/imp_mine/lava

{

surfaceparm lava

deformvertexes wave 100 sin 1 1 0 0.25

{

map textures/imp_mine/lava2

blendFunc GL_ONE GL_ZERO

tcMod scroll 0.01 0.01

tcMod turb 1 0.1 1 0.005

tcMod stretch noise 1 0.01 0 0.05

}

{

map $lightmap

blendFunc GL_DST_COLOR GL_SRC_COLOR

}

}

 

again sorry for my n00bish

but gotta start somewhere :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...