Create an account

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

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).

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

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.
[Image:]640K ought to be enough for anybody.
     ― Linux Torvalds

Possibly Related Threads...
Thread Author Replies Views Last Post
  [SOLVED] Maintainable portal velocity (?) Justin 15 4,214 07-05-2015, 08:56 AM
Last Post: aa
  [SOLVED] Tree model leaves shader Justin 12 7,084 05-07-2014, 05:06 PM
Last Post: Justin
  [SOLVED] Missing shader previews / lack of authoritative Netradiant help Greaserpirate 6 4,612 09-17-2013, 01:11 AM
Last Post: Mr. Bougo
  [NEEDS INFO] Failing to fallback when a shader doesn't compile edh 0 1,837 12-17-2012, 05:44 PM
Last Post: edh
  [SOLVED] shader - offsetmapping hutty 5 2,966 08-16-2012, 12:48 PM
Last Post: PinkRobot
  [SOLVED] sky shader not working hutty 1 1,852 07-21-2012, 11:08 AM
Last Post: Mr. Bougo
  [SOLVED] 'bezel' effect with vsync disabled edh 5 3,967 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-