Quake3World.com Forums
     Programming Discussion
        Change mising texture image.


Post new topicReply to topic
Login | Profile | | FAQ | Search | IRC




Print view Previous topic | Next topic 
Topic Starter Topic: Change mising texture image.

Trainee
Trainee
Joined: 17 Jan 2010
Posts: 25
PostPosted: 02-16-2010 02:35 AM           Profile Send private message  E-mail  Edit post Reply with quote


Hello Misantropia :) .
I want to change image when texture is mising. I don´t want the same image as in Q3 and OA and all games on Q3.
Is it able?




Top
                 

Mentor
Mentor
Joined: 12 Mar 2005
Posts: 3958
PostPosted: 02-16-2010 04:37 AM           Profile Send private message  E-mail  Edit post Reply with quote


Yes, but only if you want to make an engine mod (the function you want is R_CreateDefaultImage() in renderer/tr_image.c). A trick that might or might not work from the cgame is this:
Code:
trap_R_RemapShader("<default>", "your/shader", NULL);




Top
                 
Quake3World.com | Forum Index | Programming Discussion


Post new topic Reply to topic


cron
Quake3World.com
© ZeniMax. Zenimax, QUAKE III ARENA, Id Software and associated trademarks are trademarks of the ZeniMax group of companies. All rights reserved.
This is an unofficial fan website without any affiliation with or endorsement by ZeniMax.
All views and opinions expressed are those of the author.