Page 1 of 1
How to change shaders?
Posted: Sat Jul 01, 2006 3:03 am
by MyOwn
when i compile with tool this error occures:
some shaders were of inappropiate types.
how to make them appropiate?
Posted: Sat Jul 01, 2006 5:08 am
by skyline GT-R
For bsp's, you can not have a .shader_model as one of the shaders for the map. So, just make a new .shader enviroment and set all the bitmaps and other stuff u had from the other shader.
Posted: Sun Jul 02, 2006 7:47 am
by MyOwn
But just how do I set a .shader_envirement?
Posted: Sun Jul 02, 2006 8:19 am
by skyline GT-R
It's pretty much the same as .shader_model , but it has some more stuff added on, such as primary detial and stuff like that.
Posted: Sun Jul 02, 2006 8:50 am
by flyinrooster
ok, im gonna go a bit more in depth than skyline. open guerilla, and click new tag. under new tag, go down until you hit shader_environment. select that one. at the top, select "simple paramterization". then under physics, if your map is grass and dirt, keep it on dirt. if its something other than that, see if that is in properties. then scroll down about half way until you reach diffuse properties. on base map, select your level bitmap that you made. on primary detail map scale, put a number between 25 and 30. then, under primary detail map, select (if ur using dirt and grass) levels\b30\bitmaps\detail ground.bitmap. under that is secondary detail map scale. agaan set that to numbers between 25 and 30. for the secondary detail map use levels\a30\bitmaps\detail grass.bitmap. then, make a new folder called shaders, and save this file in there as "yourlevel shader_environment", and switch yourlevel with your level's name of course. hope i helped!
Posted: Mon Jul 03, 2006 4:51 am
by MyOwn
thnx flyingrooster, that helped me