Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (ozgur, AbrahamR, wdlmaster, 7th_zorro), 839 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | chip programmers | 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