1 registered members (TipmyPip),
1,310
guests, and 0
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: What are you working on?
[Re: Rackscha]
#416853
02/05/13 14:12
02/05/13 14:12
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
yes it's just a heightvalue and some math I made it like this because I have no idea how I could write this as an objectshader But I'm still having some very little artifacts I'd like to fix.
POTATO-MAN saves the day! - Random
|
|
|
Re: What are you working on?
[Re: HeelX]
#416877
02/05/13 15:36
02/05/13 15:36
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
Thanks for the information HeelX. Yes I am clipping the not-affected pixels and yes the shader is slow but I'm pretty sure that this isn't caused by the watershader because it 'just' uses some clever math, but nothing too complex.
I think it's the complex & inefficient objectshader I'm using there and the textures because they don't have mipmaps.
EDIT: I just tested it, in the worst case the textures and the specular lighting reduce the framerate by 50% (~120 fps)
Last edited by Kartoffel; 02/05/13 15:49.
POTATO-MAN saves the day! - Random
|
|
|
Re: What are you working on?
[Re: Kartoffel]
#416894
02/05/13 18:04
02/05/13 18:04
|
Joined: Jul 2001
Posts: 6,904
HeelX
Senior Expert
|
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
I just tested it, in the worst case the textures and the specular lighting reduce the framerate by 50% (~120 fps) On my machine which is rather fast, I got only 15 fps!
|
|
|
|