Quake3World.com Forums
     Level Editing & Modeling
        Program for .shader file editation


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




Print view Previous topic | Next topic 
Topic Starter Topic: Program for .shader file editation

Insane Quaker
Insane Quaker
Joined: 28 Jan 2010
Posts: 308
PostPosted: 02-27-2011 01:19 AM           Profile Send private message  E-mail  Edit post Reply with quote


I'm looking for some clever program to use it as editor for shader files. It is very uncomfortable to edit very large shader files and it slow down creating process :)

Simply, does exist some program, which can "expand" or "collapse" one particular shader in shaderfile? Example:
Code:
textures/noruen_sbrain/SbGrid
{
   surfaceparm trans
   surfaceparm alphashadow
   cull front
   {
      map textures/noruen_sbrain/SbGrid.tga
      blendFunc GL_ONE GL_ZERO
      alphaFunc GE128
      depthWrite
      rgbGen identity
   }
   {
      map $lightmap
      rgbGen identity
      blendFunc GL_DST_COLOR GL_ZERO
      depthFunc equal
   }
}


And collapsed:
Code:
textures/noruen_sbrain/SbGrid


I hope I explained it well, my communication skills this weekend are on the level of social amoeba.




Top
                 

Cool #9
Cool #9
Joined: 01 Dec 2000
Posts: 44139
PostPosted: 02-27-2011 01:46 AM           Profile   Send private message  E-mail  Edit post Reply with quote





Top
                 

I'm the dude!
I'm the dude!
Joined: 04 Feb 2002
Posts: 12498
PostPosted: 02-27-2011 07:19 AM           Profile Send private message  E-mail  Edit post Reply with quote


Just be aware that Q3ASE is a bit old, so if you have a few of the newer Q3Map2 shader directives, it may not recognize them. It works great otherwise.



_________________
GtkRadiant | Q3Map2 | Shader Manual


Top
                 

Insane Quaker
Insane Quaker
Joined: 28 Jan 2010
Posts: 308
PostPosted: 02-27-2011 01:31 PM           Profile Send private message  E-mail  Edit post Reply with quote


Thanks :)




Top
                 

Cool #9
Cool #9
Joined: 01 Dec 2000
Posts: 44139
PostPosted: 02-28-2011 12:35 AM           Profile   Send private message  E-mail  Edit post Reply with quote


I must also admit that it's not an application that works exactly intuitively. I found it rather crap to work with, so I still stick to NotePad++ :)




Top
                 
Quake3World.com | Forum Index | Level Editing & Modeling


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.