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.
An object with no render, but with a texture.
Débuté par
dusty.lane
, mai 28 2013 03:40
#1
Posté 28 mai 2013 - 03:40
#2
Posté 28 mai 2013 - 05:33
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.
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.
#3
Posté 28 mai 2013 - 05:48
put null in the bitmap field.
#4
Posté 28 mai 2013 - 05:49
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!
@henesua,
oh okay.. more answers! Thanks both of you!
Modifié par dusty.lane, 28 mai 2013 - 05:49 .
#5
Posté 28 mai 2013 - 05:50
null --- oops shoulda sent this as a comment.
Modifié par henesua, 28 mai 2013 - 05:50 .
#6
Posté 28 mai 2013 - 05:51
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.
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 .





Retour en haut






