![]() |
[SOLVED] Shader fading effect with "alphaGen portal" - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4) +--- Thread: [SOLVED] Shader fading effect with "alphaGen portal" (/showthread.php?tid=5347) |
Shader fading effect with "alphaGen portal" - Maddin - 02-08-2015 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/alphagen-portal-for-distance-alpha-effects.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! ![]() RE: Shader fading effect with "alphaGen portal" - Mr. Bougo - 02-08-2015 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. |