About Store Forum Documentation Contact



Post Reply 
a little question and extremely looking forward to ...
Author Message
lovee Offline
Member

Post: #1
a little question and extremely looking forward to ...
hismile

1."sky with atmospheric light scattering" features, Be able to do in December to achieve?
I am extremely looking forward to this features smile

2.I find in "Sun.h" have two things:
/******************************
extern Bool SunRaysSoft;
extern Byte SunRaysRes ;
*******************************/

how can i use they?

i try to use they:
/********************************
Sun mySun =Suns.New();
mySun.SunRaysSoft=true;
mySun.SunRaysRes=2;
********************************/
but compile error
(SunRaysSoft and SunRaysRes are not Sun functions or Property)
so i Changes they to this:
/*******************************
Sun mySun = Suns.New();
SunRaysSoft=true;
SunRaysRes=2;
*******************************/
no compile error but they are looks like not work.

how can i use they?

please give me a little tips!

thanks very much!
12-04-2009 10:31 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: a little question and extremely looking forward to ...
SunRaysSoft=true;
SunRaysRes=2;
this is ok,
but I think you need to enable sun rays in high mode, sun.rays.mode=*high

Quote:1."sky with atmospheric light scattering" features, Be able to do in December to achieve?
I never give dates, but I can tell you that I'm looking forward to this too smile
12-04-2009 04:39 PM
Find all posts by this user Quote this message in a reply
lovee Offline
Member

Post: #3
RE: a little question and extremely looking forward to ...
thanks lot! it's work now!
sun.rays.mode=(SUN_RAYS_HIGH);
12-04-2009 05:02 PM
Find all posts by this user Quote this message in a reply
Post Reply