Page 1 of 1

Change mising texture image.

Posted: Tue Feb 16, 2010 10:35 am
by Whispere
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?

Re: Change mising texture image.

Posted: Tue Feb 16, 2010 12:37 pm
by ^misantropia^
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: Select all

trap_R_RemapShader("<default>", "your/shader", NULL);