well, thanks to your help, at least part of what i want is already done:
Bump mapping and simple flashlight in darkness, now i only need some real dynamic light with shadows, im pretty sure someone already have the solution and i hope that someone can share it.
Also while i was messing with Bump mapping, i discovered really frustrating bug with Node-webkit exporter:
Notticed that bump mapping effect that looks and works fine in Chrome and Maxthon does not work at all in exported Node-webkit wrapper and instead texture looks just as flat as without bumpmapping.
Tried to update Constuct 2 bundled version to latest version from site - aint worked.
Tried to put DX9 43 dlls into folder - aint worked.
Tried to put arguments --enable-webgl --ignore-gpu-blacklist to package.json - aint worked.
(full arg line, if this might help is this:
- -disable-extensions --disable-plugins --disable-internal-flash --disable-popup-blocking --disable-software-rasterizer --enable-gamepad --enable-html5-camera --allow-file-access-from-files --enable-webgl --ignore-gpu-blacklist
)
Tried get.webgl.org in clearn node-webkit, however it shows cube and same results as Chrome and Maxthon browsers, so that means WebGL enabled but doesnt work right or not fully featured in Node-webkit.
Also tried to get WebGL libs from Maxthon and Chrome and replace node-webkit shipped libs with them - aint worked as well.
Googled a little and found more reports like this, which state that "WebGL looks ugly in node-webkit comparing to Chrome and other browsers".
Is there a way to use older Awesomium wrapper instead of node-webkit, which have broken WebGL support?
Ah, i think i should create new thread about this issue.