Jump to content

Home

Shader questions


MeusH

Recommended Posts

Hi. I want to add parameter "surfaceparm trans" and "notc" to "textures/korriban/orn_grate" texture.

 

So I took the orn_grate shader and put lines I wanted, plus the quer_editorimage entry.

 

Anyway, Radiant doesn't see any shader-only stuff made by me. I'd need to copy the korriban texture once again, and it would work. Any way to make it working in radiant?

 

Oh, when I compile the map, the shader I've made makes texture with really small scale (I can see it repeated at least 100 times in place, where it should be repeated two times... so it is very small. It is because of Radiant... and it's blind.

 

textures/ltemple/krata
{
qer_editorimage	textures/korriban/orn_grate
cull	twosided
surfaceparm trans
notc
   {
       map textures/korriban/orn_grate
       alphaFunc GE128
       depthWrite
       rgbGen identity
   }
   {
       map $lightmap
       blendFunc GL_DST_COLOR GL_ZERO
       depthFunc equal
   }
}

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...