[Gtkradiant] GtkRadiant 1.5 Quake 4 template issue
Branan Riley
branan at gmail.com
Sat Oct 27 15:46:37 CDT 2007
Alright, just figured it out. It turns out it's not an issue with GtkRadiant
at all - it's an issue with the Quake4 gamepack. q4.game defines
shaders="doom3", which isn't right - it needs to be shaders="quake4" in
order to support templates.
Branan
PATCH:
Index: tools/games/q4.game
===================================================================
--- tools/games/q4.game (revision 25)
+++ tools/games/q4.game (working copy)
@@ -18,7 +18,7 @@
texturetypes="tga jpg dds"
modeltypes="lwo ase md5mesh"
maptypes="mapquake4"
- shaders="doom3"
+ shaders="quake4"
entityclass="doom3"
entities="doom3"
brushtypes="quake4"
On 10/27/07, Branan Riley <branan at gmail.com> wrote:
>
> Hi everyone,
>
> I'm trying to use GtkRadiant for Quake 4, and I'm having a problem with
> materials. Any material that uses a template isn't available in the texture
> browser, and the console shows lots of lines like this one:
> > shader instance: "textures/tram/walltrim1_1": shader template not found:
> "generic_shader"
>
> This happens with all sorts of materials using all sorts of templates.
> I tried running ShaderPlug to generate the tag file, but the shaders are
> still missing. I'm seeing this error with the pre-built Windows package, as
> well as a Linux build from the SVN trunk. I'm using the latest Quake 4
> patches.
>
> I'd be willing to try to make a patch, if someone could point me in the
> right direction. I have no idea where to start looking for material handling
> in the GtkRadiant source.
>
> Thank you,
> Branan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://zerowing.idsoftware.com/pipermail/gtkradiant/attachments/20071027/2d86feab/attachment.htm
More information about the Gtkradiant
mailing list