Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,633 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 4 1 2 3 4
Re: Embaressing Question Ever [Re: xXxGuitar511] #189701
03/26/08 20:47
03/26/08 20:47
Joined: Aug 2007
Posts: 286
DestroyTheRunner Offline OP
Member
DestroyTheRunner  Offline OP
Member

Joined: Aug 2007
Posts: 286
I see.
I have just had a quick look at the tutorial, and didnt understand much of the code.
Worst problem now is, what could i do and what i could NOT do with shaders that WOULD work in my A6 standard version.?
what are limitations?

Re: Embaressing Question Ever [Re: DestroyTheRunner] #189702
03/26/08 22:27
03/26/08 22:27
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Happy Birthday Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
+it would be possibly very slow...

@destroy the runner
the limitation is that you can just use ffp
so tell us which shaders you would like to use and we can tell you if it's possible
but all in all it just supports the most basic things. lerping of diffrent textures, enviroment mapping and changin of texture coordinates (u/v shifting as example)...

Re: Embaressing Question Ever [Re: Scorpion] #189703
03/27/08 21:24
03/27/08 21:24
Joined: Aug 2007
Posts: 286
DestroyTheRunner Offline OP
Member
DestroyTheRunner  Offline OP
Member

Joined: Aug 2007
Posts: 286
ok... as i told you, i suck in shaders and dont have much idea of the stuff( actually after reading some stuff i getting a bit of the knowledge)

anyway, I would like to have a bumpmap effect on my brick texture.
could I do that?

Re: Embaressing Question Ever [Re: DestroyTheRunner] #189704
03/28/08 10:27
03/28/08 10:27
Joined: Apr 2007
Posts: 582
Germany
Poison Offline
User
Poison  Offline
User

Joined: Apr 2007
Posts: 582
Germany
Check out the wiki page there is a bumpmap ffp shader.

Edit: here is the link:
http://www.coniserver.net/wiki/index.php/DOT3_BumpMapping

Last edited by Poison; 03/28/08 10:29.

Everything is possible, just Do it!
Re: Embaressing Question Ever [Re: Poison] #189705
03/28/08 13:32
03/28/08 13:32
Joined: Aug 2007
Posts: 286
DestroyTheRunner Offline OP
Member
DestroyTheRunner  Offline OP
Member

Joined: Aug 2007
Posts: 286
Code:

texture entSkin1; // the entity skin
texture entSkin2; // the bump map
float4 vecLight; // the light vector (assign it in action)

technique bump_dot3
{
pass P0
{
// set texture stage states
Texture[0] = <entSkin2>;
Texture[1] = <entSkin1>;
TextureFactor = <vecLight>;

ColorArg1[0] = Texture; // stage 0 = bumpmap
ColorOp[0] = DotProduct3;
ColorArg2[0] = TFactor;

ColorArg1[1] = Texture; // stage 1 - skin texture
ColorOp[1] = AddSigned;
ColorArg2[1] = Current;

ColorArg1[2] = Diffuse; // stage 2 - lighting
ColorOp[2] = Modulate2x;
ColorArg2[2] = Current;
}
}




Ok so.. how do i implement it?
and.. i never saw "technique" or "float" in c-script

oh boy... im lost

Re: Embaressing Question Ever [Re: DestroyTheRunner] #199653
03/31/08 18:09
03/31/08 18:09
Joined: Aug 2007
Posts: 286
DestroyTheRunner Offline OP
Member
DestroyTheRunner  Offline OP
Member

Joined: Aug 2007
Posts: 286
people please...any directions plz?
=/

Re: Embaressing Question Ever [Re: DestroyTheRunner] #199659
03/31/08 19:28
03/31/08 19:28
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
this technique thingy is a part of shader language, there is a spare language from c-script for shaders. (HLSL,high level shader language and ffp, fixed function something.)


3333333333
Re: Embaressing Question Ever [Re: Quad] #199665
03/31/08 20:54
03/31/08 20:54
Joined: Aug 2007
Posts: 286
DestroyTheRunner Offline OP
Member
DestroyTheRunner  Offline OP
Member

Joined: Aug 2007
Posts: 286
i see
people im real lost here... lol
does anyone has a simple level with a simple box in the middle with bumpmapping effect applied on it and the code, that would work with A6 standard?

cause im not getting the hang of it \:\(

Re: Embaressing Question Ever [Re: DestroyTheRunner] #201169
04/07/08 11:38
04/07/08 11:38
Joined: Aug 2007
Posts: 286
DestroyTheRunner Offline OP
Member
DestroyTheRunner  Offline OP
Member

Joined: Aug 2007
Posts: 286
?

Re: Embaressing Question Ever [Re: DestroyTheRunner] #201181
04/07/08 12:20
04/07/08 12:20
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany

Page 3 of 4 1 2 3 4

Moderated by  Blink, Hummel, Superku 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1