Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Shader fading effect with "alphaGen portal"

#1
In Quake 3 it is possible to create a shader which fades in or out based on the player distance. This is very useful for e.g. lightbeams which fade out seamlessly as you approach. The needed shader keyword is "alphaGen portal 256" (or instead of 256 any other distance).

http://www.robotrenegade.com/articles/al...fects.html

It seems though like Darkplaces doesn´t know of it. Is this true? If so is there any chance to get the same effect another way?

Also is there any official manual of the shader capabilities of Xonotic? I couldn´t find anything.

Thanks in advance! Smile
Reply

#2
I vaguely looked into darkplaces shaders, but couldn't find any docs.

Anyway, it seems like darkplaces parses alphagen portal (see source code). That doesn't mean it's (fully) supported, though.

EDIT: And indeed, that's the only mention of alphagen portal there is. So I doubt it's supported.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Bug [BUG] fish-eye effect, When you hit a wall Kotangens 0 1,024 11-02-2020, 08:01 AM
Last Post: Kotangens
  [SOLVED] Maintainable portal velocity (?) Justin 15 7,313 07-05-2015, 08:56 AM
Last Post: aa
  [SOLVED] Tree model leaves shader Justin 12 10,675 05-07-2014, 05:06 PM
Last Post: Justin
  [SOLVED] Missing shader previews / lack of authoritative Netradiant help Greaserpirate 6 6,572 09-17-2013, 01:11 AM
Last Post: Mr. Bougo
  [NEEDS INFO] Failing to fallback when a shader doesn't compile edh 0 2,484 12-17-2012, 05:44 PM
Last Post: edh
  [SOLVED] shader - offsetmapping hutty 5 4,316 08-16-2012, 12:48 PM
Last Post: PinkRobot
  [SOLVED] sky shader not working hutty 1 2,872 07-21-2012, 11:08 AM
Last Post: Mr. Bougo
  [SOLVED] 'bezel' effect with vsync disabled edh 5 5,520 03-31-2012, 01:31 PM
Last Post: edh

Forum Jump:


Users browsing this thread:
1 Guest(s)

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