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
5 registered members (clonman, TipmyPip, Niels, dBc, 1 invisible), 18,961 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
Shader Compiler #410310
11/01/12 00:44
11/01/12 00:44
Joined: Sep 2012
Posts: 74
Niedersachsen, Germany
P
PriNova Offline OP
Junior Member
PriNova  Offline OP
Junior Member
P

Joined: Sep 2012
Posts: 74
Niedersachsen, Germany
i'm trying rendermonkey for shader coding and there is the possibility to export the shadercode as .fx

if i look at the code in SED i see there are many variables SED do not understand. is there a way to use another compiler with SED or is it hardcoded. for example .fx code:

Code:
float invMaxDepthC: register(c0);
// Simply output the inverse of the maximum depth complexity expected.
// With additative blending and no depth compares it will accumulate
// to a number in the range [0..1] indicating the depths at each pixel.

float4 main() : COLOR 
{
   return invMaxDepthC;
}



here the 'register' does not compile. what could help then?

Re: Shader Compiler [Re: PriNova] #410319
11/01/12 08:37
11/01/12 08:37
Joined: Sep 2012
Posts: 74
Niedersachsen, Germany
P
PriNova Offline OP
Junior Member
PriNova  Offline OP
Junior Member
P

Joined: Sep 2012
Posts: 74
Niedersachsen, Germany
issue solved. i found out, that 'register' is a external variable in the workspace. so this is like implementing global variables in the shader code.


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