Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

shader problems

Page: 1 of 1
 aaw*s.n.a.f.u.*
10-18-2003, 7:12 AM
#1
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
 Fracman
10-18-2003, 9:10 AM
#2
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.
 GothiX
10-18-2003, 10:43 AM
#3
So sides may either be: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 pixels. Yeah, i was bored.
 aaw*s.n.a.f.u.*
10-18-2003, 2:50 PM
#4
so i can use any multiple of two right?:o
 -=NJO=-RaveN
10-23-2003, 5:53 PM
#5
i got a similar error, does this apply to me also?
http://members.lycos.co.uk/website123456/map_screenshots/wtf.JPG)
 GothiX
10-23-2003, 6:11 PM
#6
Yes, they should be in the power of 2.

RaveN, that goes for you to, yes.
 -=NJO=-RaveN
10-23-2003, 6:12 PM
#7
Thanks i fixed the problem :)
Page: 1 of 1