Jump to content

Home

shader problems


aaw*s.n.a.f.u.*

Recommended Posts

Posted

here is what my shader text looks like

 

textures/poo/wall1

{

q3map_material SolidMetal

{

map $lightmap

}

{

map textures/poo/wall1.jpg

blendFunc GL_DST_COLOR GL_ZERO

}

{

map textures/poo/env_wall1

blendFunc GL_SRC_ALPHA GL_ONE

alphaGen const 0.25

tcGen environment

}

}

 

 

and this it what comes up after ive made it to a pk3 and load in the game

 

Refusing to load non-power-2-dims(640,480) pic "levelshots/poo"...

Refusing to load non-power-2-dims(224,233) pic "textures/poo/wall1.jp"...

WARNING: R_FindImageFile could not find 'textures/poo/wall1.jpg' in shader 'textures/poo/wall1'

Shader 'textures/poo/wall1' has a stage with no image

 

oh yeah forgot to mention the shader works fine in GTK

Posted

I consider you read CAREFULLY the error message...

your images have simply the wrong size,

make them e.g. 512x256 or 512x512 or whatever is power of 2, from 1x1 to 1024x1024.

Then it should work.

Archived

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

×
×
  • Create New...