|
|
Free Shader
#61461
12/31/05 23:38
12/31/05 23:38
|
Joined: Jul 2003
Posts: 893 Melbourne, Australia
Matt_Coles
OP

User
|
OP

User
Joined: Jul 2003
Posts: 893
Melbourne, Australia
|
At the request of some users I have included a fix for the specular shader seen in my Shader Collection. It is a standalone level with the fake specular envmap applied to cbabe with opensource code. I hope you enjoy, Matt Coles The link is here Spec Model
|
|
|
Re: Free Shader
[Re: Matt_Coles]
#61462
01/01/06 01:23
01/01/06 01:23
|
Joined: Apr 2005
Posts: 1,058 Luzern
Nicolas_B
Serious User
|
Serious User
Joined: Apr 2005
Posts: 1,058
Luzern
|
Thanks Matt, i can this shader good use  thx Nicolas B
|
|
|
Re: NormalMap with Fog!
[Re: Matt_Coles]
#61467
01/06/06 04:04
01/06/06 04:04
|
Joined: Jul 2003
Posts: 893 Melbourne, Australia
Matt_Coles
OP

User
|
OP

User
Joined: Jul 2003
Posts: 893
Melbourne, Australia
|
soz to triple post, but post time expired and I forgot the code for the dynamic light needed for normal mapping: var light_dist=1700; //this is how far away form a light it will be visible. action light_pos_object { wait(5); my.invisible=on; my.passable=on; my.lightrange=50; //could be set also to a skill my.red=my.skill1; //just put in the r,g,b values my.green=my.skill2; my.blue=my.skill3; my.cast=on; //casts a shadow when on }  Matt
|
|
|
Re: NormalMap with Fog!
[Re: Matt_Coles]
#61468
01/08/06 16:26
01/08/06 16:26
|
Joined: Sep 2002
Posts: 1,604 Deutschland
ChrisB
Serious User
|
Serious User
Joined: Sep 2002
Posts: 1,604
Deutschland
|
I just wan't to mention, that the code and the envmap bitmap of the specular shader was taken from one of my projects. You can use it and do whatever you want. I don't know who has include it in the shader collection 1.0, but i would be happy to see it in use. If you want to see it in an application: Download
|
|
|
Re: NormalMap with Fog!
[Re: ChrisB]
#61469
01/09/06 07:40
01/09/06 07:40
|
Joined: Jul 2003
Posts: 893 Melbourne, Australia
Matt_Coles
OP

User
|
OP

User
Joined: Jul 2003
Posts: 893
Melbourne, Australia
|
Yes that is right, Shader Collection is a collection of codes posted by experts for free to use on the Shaders Forum, the credits for all the original authors I could find are in the shader collection zip on acknex unlimited. I should really put the credits in the fix zip files too  Sorry ChrisB. The idea of shader collection is to show the new 3d gamestudio users how to apply shaders to their projects  , I had requests to do this and I was only learning at the time too. Shader Collection 2 will feature all new shaders such as realtime displacement, projected shadows, fresnel water and more. For now enjoy the fixes and don't kill yourselves waiting for Shader Collection 2  Matt Coles
|
|
|
|