When you use push or pull a circle appears that deforms the environment as if you were looking at it through a glass of water. Now is there a way you can use that effect in a shader, for example for glass?
When you use push or pull a circle appears that deforms the environment as if you were looking at it through a glass of water. Now is there a way you can use that effect in a shader, for example for glass?
search through the shader files of the game you might find the shader and then you can copy the coding from the shader and paste it in your new shader (of course you have to edit it)
Last edited by AshuraDX; July 5th, 2009 at 02:05 AM.
The force push effect is controlled by a picture (assets1.pk3/gfx/effects/forcepush) and a .efx file which controls the size etc (assets1.pk3/effects/force/pushblur).
The only way I can think of making a distorting piece of glass is a custom-made shader. Maybe try taking the forcepush picture from assets1.pk3 and 'applying' it to a glass texture already made, using a similar technique to making a glow shader. I'm no shader expert, but find a skin on jk3files.com with glow and see how the author did it on that to get the basic idea if you're stuck.
Actually, through experimenting with the efx and gfx files I've found that assets1.pk3/gfx/effects/forcepush.tga is actually the blur around characters when they get pushed. Also assets1.pk3/effects/force/pushblur.efx is completely pointless as far as I know, it is not either the pushing effect or the being pushed effect. Sorry mate, as far as I know, there is no easy way to create the zoom effect created in-game.
Jedi Knight II: Jedi Outcast General Yib-Yab (Off Topic)
1
June 20th, 2002 11:36 AM
All times are GMT -7.
This site is part of the Defy Media Gaming network
The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!