Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 10/24/26 01:52
Tradestation missing in table of contents
by AndrewAMD. 10/23/26 14:35
No connection to MT4
by JeyKey II. 10/22/26 15:33
Zorro tutorial ideas?
by mistery. 10/21/26 05:28
Avoid "log\ - delete old files" message
by Martin_HH. 10/20/26 07:23
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 7,375 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
JimSimons, julienp, julienper, KelleyAbbey, Yopachi
19246 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