I used to like the xrayshader for that extra shiny polish, but it was too heavy on the cpu.
- speed optimization: 1.3x - 2x
- effect diminishes and gets disabled when having a low average fps
- get more intense with high camera distance
- intensity is a little more subtle in comparison with the old xrayshader
I don't know how well this works on ATI/AMD gpu's, since the old widget might have been connected with the 'green-screen' bug. But I don't know for sure. Could anyone elaborate on this old issue?
Xrayshader widget
Moderator: Moderators
Xrayshader widget
- Attachments
-
- gui_xray_shader.lua
- 22 february 2015
- (8.07 KiB) Downloaded 17 times
Re: Xrayshader widget
will try it
Re: Xrayshader widget
Code: Select all
[f=0000000] Loading: LuaUI\Widgets\gui_xray_shader.lua
[f=0000000] ERROR: 0:20: 'assign' : cannot convert from 'Position 4-component vector of float' to 'varying 3-component vector of float'
[f=0000000] Xray shader compilation failed.
[f=0000000] false
[f=0000000] Error in Initialize(): [string "LuaUI\Widgets\gui_xray_shader.lua"]:162: bad argument #1 to 'GetUniformLocation' (number expected, got nil)
Re: Xrayshader widget
indeed... indeed.
must note that the widget has problems with disabling on lowfps. (my calcs are just wrong)
must note that the widget has problems with disabling on lowfps. (my calcs are just wrong)