Chansta Posted January 2, 2024 Posted January 2, 2024 Just a small question I have which I would really appreciate any help with, you see I am currently working on a map which has a custom texture, and I created a textures folder within the Pk3 of the map in question, but when I load said map into Jka the texture appears to be missing, which I dont understand, since I dont think I missed anything, also let me point out that I tried it in both base Jka and Md and it was the same result......... The pictures of how it looks in game and in netradient custom Again any assistance provided would be most appreciated please. Sincerely, chansta DarthValeria likes this
NAB622 Posted January 2, 2024 Posted January 2, 2024 Textures in Radiant have no resolution restrictions. However, in-game, a texture's width and height must be powers of 2. For instance, 128x128, 256x512, 2048x256. Additionally, the texture must be saved as a "Baseline" JPEG. Progressive JPEG will not work. I believe PNG also works but with some caveats. Edit: If neither of those is the culprit, it's probably a shader issue, which will need further diagnosis.
Chansta Posted January 2, 2024 Author Posted January 2, 2024 And how do I do that make a texture a power of two
NAB622 Posted January 2, 2024 Posted January 2, 2024 You'll need to either crop or resize it to the correct resolution. GIMP or Photoshop, or even MS Paint can do that for you. If you're still having issues, let me know what the resolution of the texture in question is.
Chansta Posted January 2, 2024 Author Posted January 2, 2024 so this is what appears when I try to resize it in paint, is it still not a power of two I also I dont have gimp and I fail to see the issue even after putting the resolution into 1024x1024 the texture still didnt load and I dont know what else to do
NAB622 Posted January 2, 2024 Posted January 2, 2024 Change that to 512 width, 1024 height (Enlarging will result in the least quality loss). Then save as a JPEG/JPG. Note that this is not the best way to do this, but it will at least get your texture working and you can make adjustments later. You may have to re-fit the texture to the surface in Radiant, and recompile your map, but it should work then.
Chansta Posted January 2, 2024 Author Posted January 2, 2024 I tried that and it didnt seem to work, at this rate I may just have to send the file to someone since I am ready to tear my hair out
Solution AshuraDX Posted January 3, 2024 Solution Posted January 3, 2024 16 hours ago, Chansta said: I tried that and it didnt seem to work, at this rate I may just have to send the file to someone since I am ready to tear my hair out You missed the checkbox "Maintain aspect ratio". Uncheck that and you will be free to change width and height independently NAB622 and Ramikad like this
Chansta Posted January 3, 2024 Author Posted January 3, 2024 Quote so this is correct right? Kerry2023 likes this
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now