Page 1 of 1

Program for .shader file editation

Posted: Sun Feb 27, 2011 9:19 am
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.

Re: Program for .shader file editation

Posted: Sun Feb 27, 2011 9:46 am
by Eraser

Re: Program for .shader file editation

Posted: Sun Feb 27, 2011 3:19 pm
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.

Re: Program for .shader file editation

Posted: Sun Feb 27, 2011 9:31 pm
by Noruen
Thanks :)

Re: Program for .shader file editation

Posted: Mon Feb 28, 2011 8:35 am
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++ :)