Program for .shader file editation

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
Noruen
Posts: 308
Joined: Thu Jan 28, 2010 11:45 pm

Program for .shader file editation

Post by Noruen »

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: Select all

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: Select all

textures/noruen_sbrain/SbGrid
I hope I explained it well, my communication skills this weekend are on the level of social amoeba.
User avatar
Eraser
Posts: 19177
Joined: Fri Dec 01, 2000 8:00 am

Re: Program for .shader file editation

Post by Eraser »

obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Program for .shader file editation

Post by obsidian »

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.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Noruen
Posts: 308
Joined: Thu Jan 28, 2010 11:45 pm

Re: Program for .shader file editation

Post by Noruen »

Thanks :)
User avatar
Eraser
Posts: 19177
Joined: Fri Dec 01, 2000 8:00 am

Re: Program for .shader file editation

Post by Eraser »

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++ :)
Post Reply