Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (JeyKey II), 8,409 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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