AngelModder Posted March 2, 2015 Posted March 2, 2015 Ok so I've tried a few different thing's so far, and nothing has worked. This texture/shader just hates me. So i've come to you guys for advice, figured I'd get some sleep and see if any one had some idea's. I'll post the texture/shader that way you know what i have it as so far. And I've included a in game screenshot to give you an example.This is the ships aft wakes (WIP) what I need them to do is fade away, I've even tried laying them underneath a black to transparent layer and it just acts like it's not even there. This texture ofcourse scrolls to give the effect the ship is moving. Again any help and or ideas are/is appreciated.Shader in use atm ( Simple I know )textures/water/aftwakes{ qer_editorimage textures/water/aftwakes surfaceparm noimpact surfaceparm nomarks surfaceparm nonsolid cull disable nomipmaps { map textures/water/aftwakes blendfunc add rgbGen identity tcMod scroll 0 -0.25 }} Texture And here is what it looks like atm in game.... I don't like this... At all..
mrwonko Posted March 2, 2015 Posted March 2, 2015 I think you can probably use alphagen vertex in a similar way to alphablended terrain.
Daedra Posted March 3, 2015 Posted March 3, 2015 Ok so I've tried a few different thing's so far, and nothing has worked. This texture/shader just hates me. So i've come to you guys for advice, figured I'd get some sleep and see if any one had some idea's. I'll post the texture/shader that way you know what i have it as so far. And I've included a in game screenshot to give you an example.This is the ships aft wakes (WIP) what I need them to do is fade away, I've even tried laying them underneath a black to transparent layer and it just acts like it's not even there. This texture ofcourse scrolls to give the effect the ship is moving. Again any help and or ideas are/is appreciated. Shader in use atm ( Simple I know ) textures/water/aftwakes{ qer_editorimage textures/water/aftwakes surfaceparm noimpact surfaceparm nomarks surfaceparm nonsolid cull disable nomipmaps { map textures/water/aftwakes blendfunc add rgbGen identity tcMod scroll 0 -0.25 }} Texture And here is what it looks like atm in game.... I don't like this... At all.. Try this.. http://oi57.tinypic.com/2vlmbtj.jpg
mrwonko Posted March 3, 2015 Posted March 3, 2015 That's not going to work, the point is to have it scroll. Though come to think about it, I'm not entirely sure if a blendfunc add is going to work nicely with alpha transparency... you may need to use an alpha channel instead of black. Gee, it's been a while since I wrote a shader...
Langerd Posted March 3, 2015 Posted March 3, 2015 Hmm what about changing the lightning? Next to the ship it will be full light and far away it will be dark. Try that
Langerd Posted March 3, 2015 Posted March 3, 2015 Is there a shader to make gradient work like overlay?
Asgarath83 Posted March 3, 2015 Posted March 3, 2015 you can spot negative lights in the outside part of the sea? no, bad suggest i know >.<
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now