Author Topic: An object with no render, but with a texture.  (Read 391 times)

Legacy_dusty.lane

  • Full Member
  • ***
  • Posts: 222
  • Karma: +0/-0
An object with no render, but with a texture.
« on: May 28, 2013, 04:40:13 pm »


               I am working on a new weapon, and I made a super simplified version of said weapon, for its shadow, so I won't have the super simple version render. BUT! I wonder, it has a large texture on it, so would that mean if I left the texture on the shadow model, that does NOT render, would it cause any extra lag? <>< or="" would="" it="" just="" disregard="" it="" because="" it's="" set="" to="" not="" render?="" trying="" to="" figure="" out="" how="" to="" remove="" a="" texture,="" but="" not="" figuring="" such="" out="" very="" easily.="">

               
            

Legacy__six

  • Hero Member
  • *****
  • Posts: 1436
  • Karma: +0/-0
An object with no render, but with a texture.
« Reply #1 on: May 28, 2013, 06:33:24 pm »


               If its the same texture there's no issue, since it'll only be in memory once and if it's not rendered then it won't be sampled.

FYI, you can remove a texture completely if you open the model in notepad, find the "bitmap" field and switch it from your texture filename to 'none' or similar.
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
An object with no render, but with a texture.
« Reply #2 on: May 28, 2013, 06:48:42 pm »


               put null in the bitmap field.
               
               

               
            

Legacy_dusty.lane

  • Full Member
  • ***
  • Posts: 222
  • Karma: +0/-0
An object with no render, but with a texture.
« Reply #3 on: May 28, 2013, 06:49:19 pm »


               would blank work as well? or **** ? I know those are seen in places, but I am not sure how it would work for a mdl.. I guess 'none' works, but cool!

@henesua,

oh okay.. more answers! Thanks both of you!
               
               

               


                     Modifié par dusty.lane, 28 mai 2013 - 05:49 .
                     
                  


            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
An object with no render, but with a texture.
« Reply #4 on: May 28, 2013, 06:50:11 pm »


               null --- oops shoulda sent this as a comment.
               
               

               


                     Modifié par henesua, 28 mai 2013 - 05:50 .
                     
                  


            

Legacy__six

  • Hero Member
  • *****
  • Posts: 1436
  • Karma: +0/-0
An object with no render, but with a texture.
« Reply #5 on: May 28, 2013, 06:51:03 pm »


               Have you ever tried calling a texture null.tga? It's fun : p

Edit: to clarify the point of this post, neither null or none are special values - there just conveniently isn't any texture with those filenames in. Any name that isn't a valid texture will work.
               
               

               


                     Modifié par _six, 28 mai 2013 - 05:58 .