Jump to content
Gamer-3ac24a5e7f4beb96

Custom image shows up black in game

Recommended Posts

I am using the noticeboard object to create town name signs. I put the jpg into the field marked "texture#0" in the attributes window. The picture shows up fine, but only if the player physically bumps into the sign. Otherwise, it just shows all black. What am I doing incorrectly?

Share this post


Link to post
Share on other sites

What size is your image? it has to be power of two. hard to say anything else with so little information

 

Edit: that's probably not it... maybe LOD issue?

Share this post


Link to post
Share on other sites
2 minutes ago, Gamer-3ac24a5e7f4beb96 said:

Thanks gc8. I'll try resizing it to 800 by 400

 

the size has to be power of two. so valid values are  1, 2, 4, 8, 16, 32, 64, 128, 256, 512 etc

 

link:  https://en.wikipedia.org/wiki/Power_of_two

  • Like 1

Share this post


Link to post
Share on other sites
2 minutes ago, Gamer-3ac24a5e7f4beb96 said:

each side as to be any power of two? or the total number of pixels has to be a power of two?

 

 

each side. like 256x128 for example

Share this post


Link to post
Share on other sites

Long ago i had a similar issue woth jpg showin black from some distance. Since then i m usong .paa files only.

 

There is also a .paa exporting plugin for gimp out on github. This makes paa converting easy with gimp...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×