Jump to content
The Dark Mod Forums

What types of images does DR support ?


Recommended Posts

Since I have quite a few textures that use same bitmap, but different RGB modifiers, I figured I make JPG version of the textures already colorized, specifically to be able to view those in DR.

 

Surprise! Neither PNG nor JPG worked.

 

This is the material:

 

textures/grid1024red
{
qer_editorimage textures/preview/grid1024red.jpg
{
blend diffusemap
map textures/grid1024gray.tga
red 0.596
green 0.235
blue 0.235
}
}

 

I tried qer_editorimage textures/preview/grid1024red and qer_editorimage textures/preview/grid1024red.png and that just didn't work :/ I am being shown missing shader in the CAM view.

 

I am getting the following in the console:

 

 

[shaders] Unable to load texture: textures/preview/grid1024red

 

ModuleRegistry: Warning! Module with name ImageLoaderGDK requested but not found!

 

 

 

Does DR only support TGA images?

Link to comment
Share on other sites

DR can load jpegs, otherwise half of the TDM textures would be rendered missing. Can you give me that shader and that jpg file?

 

Which .game definition are you using?

 

Image: www.kot-in-action.com/images/dev/grid1024red.jpg

 

Material is above, in my first post.

 

I am using my custom .game file: http://www.kot-in-ac...es/phaeton.game

Edited by motorsep
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • OrbWeaver

      Finally got round to publishing a tutorial on baking normal maps in Blender, since most of the ones we have are inaccessible or years out of date.
      · 0 replies
    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 3 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
×
×
  • Create New...