Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Xonotic shader manual and tools?

#1
I did level design for Quake III Arena up until 2003 and have not been mapping ever since. But a week or two ago I played Xonotic for the first time and I was impressed by the gameplay and the maps.. really awesome!

I'm getting oriented in mapping for Xonotic and ofcourse have lots of questions.

I read that Xonotic uses the Darkplaces engine that is based on the quake1 engine id tech 2?!
But shaders were introduced in Quake III Arena no? So is that same Q3A shader facility added to the Darkplaces/Xonotic Engine?

I still have this shader manual for Q3A revision #12 from end of 1999 on my stack and I was wondering does this apply to DP/Xonotic?

If the shader facility has changed or is is different, where can I find the right shader manual for Xonotic?

I also have this tool on my stack Q3ASE 1.5.3 (Quake 3 Arena Shader Editor). Can I still use it or can you point me to better tools?
Reply

Reply

#3
When I was working on maps, I used this manual as a guide:
http://q3map2.robotrenegade.com/docs/shader_manual/

Though as far as I know, you can only have one layer per shader (bar lightmaps) in Xonotic/Darkplaces.
Reply

#4
Thanks poVoq, for a good start point.
After some Googling I found this almost same document at Xonotic wiki at gitlab.com,
though with a little additional information.
https://gitlab.com/xonotic/xonotic/wikis.../Materials

Thanks sev, that looks great and really complete.
I read that one layer per shader also somewhere, but still need to figure out what that means.
Reply

#5
it means you cannot have multiple shader stages (eg blend multiple textures) in on shader. The exception being alpha blend (typically terrain, have a look at xonotic-maps.pk3dir/scripts/terrain01x.shader for example/s) shaders.
Reply

#6
Thanks, tZork, that helps a bit ;-). I can only address that when really getting through to the depths of what shaders does, what's the scope of it, what can be achieved with "one shader stage", and why the "only one" limit? is there.
Reply

#7
Long story short, the one stage limit is a engine thing, and you can get away with most things using one stage, you just have to use multiple mesh layers instead (for complicated visual effects
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [NEED HELP] Weapon shader isn't doing as I'm intending to do LegendGuard 0 1,328 04-04-2022, 07:23 AM
Last Post: LegendGuard
  Tools of the trade tZork 30 44,103 08-18-2021, 03:21 PM
Last Post: Victor
  Map Optimization Tools? Notavi 4 3,295 08-11-2018, 08:18 AM
Last Post: Julius
  Can I Make an Edge Shader? MrDetonia 3 4,873 04-16-2015, 02:30 AM
Last Post: zeeshan002
  Shader Issues With Q3A Texture Replacement Packs Orbiter Sunblast 2 5,464 09-06-2013, 03:51 PM
Last Post: Orbiter Sunblast
  Inline GLSL in Q3 shader files? poVoq 3 4,559 06-16-2013, 11:51 AM
Last Post: poVoq
  Toon shader soukaina 10 10,278 10-11-2012, 12:04 PM
Last Post: rocknroll237
  Any hack to avoid the limitation of 1 stage per shader? HKN 5 7,272 10-20-2011, 04:56 AM
Last Post: tZork
  Shader Noob - Fire Shader Help top_cat 5 8,258 09-26-2010, 05:43 AM
Last Post: GreEn`mArine

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-