3 registered members (NewbieZorro, TipmyPip, 1 invisible),
19,045
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Water Shader
[Re: HeelX]
#202043
04/12/08 23:31
04/12/08 23:31
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
Expert
Joined: Jan 2002
Posts: 4,225
Germany / Essen
|
Why don't you use the template water shader? It looks very nice in my oppinion. You can find it in mtlfx.c in your gamestudio folder.
Last edited by Uhrwerk; 04/12/08 23:32. Reason: *lol* You're da man, HeelX. ;)
Always learn from history, to be sure you make the same mistakes again...
|
|
|
Re: Water Shader
[Re: Uhrwerk]
#202045
04/13/08 00:00
04/13/08 00:00
|
Joined: Mar 2008
Posts: 67
crumply
OP
Junior Member
|
OP
Junior Member
Joined: Mar 2008
Posts: 67
|
hmm, I included it in my main source file and I get errors when compiling straight away. I get errors and they alternate for some reason even though I am always running my main.c file. They are Error in mtlFX.c line 1058 'u ' is not a member of ENTITY http://indiegamingportal.net/uploads/screenshots/2008-04-13_010022.jpg
|
|
|
Re: Water Shader
[Re: crumply]
#202049
04/13/08 00:59
04/13/08 00:59
|
Joined: Jul 2001
Posts: 6,904
HeelX
Senior Expert
|
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
Uh, the last free Lite-C version is from August last year. It could be the case that the mtlFx.c and that version don't fit together. Please make a rough check: in atypes.h, does the entity struct contain the line var u,v; // texture offsets ? Bye, - Christian
Last edited by HeelX; 04/13/08 00:59.
|
|
|
|