Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

How do we use the new Godrays and CueDepth? There does not appear to be any docs on any of the new functions. Sorry for all the questions. Ok, I found this out now.

Also, none of the ToneMapOn shaders are working, I get invalid for scene errors on all of them. Is this the correct calling methods:

ccbSetSceneNodeProperty(rootnode, "ToneMapOn", 1);
ccbSetSceneNodeProperty(rootnode, "Brightness", 0.5);
ccbSetSceneNodeProperty(rootnode, "Contrast", 0.5);
ccbSetSceneNodeProperty(rootnode, "Saturation", 0.5);
ccbSetSceneNodeProperty(rootnode, "Vibrance", 0.5);
ccbSetSceneNodeProperty(rootnode, "Tint", 0.5);

NO! - please read the file attached - "4 Post Processing.txt" - it says you have to use true/false to activate or not

Also Tint must be as a color (R,G,B) format not a number.

Most of these others actuallty default to 1.0 (not 0.5) - I might change this later so its consistant.

Yes you are right, setting true instead of 1 works now. Still an issue with the image resolution dropping when using these shaders.