AndyGFX wrote:
Today i tried last version and i have a few questions:
a) howto increase shadow quality
Not an easy way i think.
You can change raydium/shadow.c line 82.
Quote:
b) howto add HDR/BLOOM effect
In main function, after the initialization of raydium and before the callback, put:
raydium_hdr_enable();
Quote:
c) howto add to car physics - drifting
Hard question. Xfennec? Ouille?
Quote:
d) howto add reflection on car
For real reflection you will need design a shader. Xfennec may can help you with this.
For a pseudo-reflection effect you can add an environment map for your object. First get a tga texture with a environment map (example :
http://www.cs.umbc.edu/~olano/papers/rsibr/paint.jpg). Then modify the tri file of your object. You have to add the environment map at the end of each face using that reflection.
Example:
Code:
-0.209936 -0.178479 0.066969 -0.047395 -0.346604 0.936813 0.428223 0.451172 coche1-a.tga#ENV_map.tga