I tested the new features for bender GE 2.42 mainly normalmap stuff
it is very amasing.
Lately i playing with shader designer that use GLSL shaders and i found a nice shader parallax_BM_GLOSSMAP it have color+pecular+bump+height maps and u can contorlling specular and height with alpha channels value.
here is the result (created with wink tutorial maker):
(~3 mb)
it contained the bumpmap.blend file where it have an Empty object that have an Always sensor and python controller and use it the sharder Normalmap.py and in this script u can add the object name at:
ShaderObject = [objlist [āOBā¦ā]]
where the ā¦ is the object name i.e. Cube than u can use OBCube name wiht OB prefix.
and if u want use more than one object u can add more object name someting like this:
and for the parallax_BM_GLOSSMAP test i use it only just in shader designer and replaced the original textures with my (blenderlogo) textures and captures my screen, but i dont know how can implementing fragment and vertex shaders to blender game engine.
[quote=āJogiā]
I got parallaxmap shader working under GE (got shader from Shader Designerā¦)
so I think āparallax_BM_GLOSSMAPā should work ok tooā¦
Iāll try to remember post parallaxmapping .blend later today.[/quote]
No, it is just a parallax mapping, Iāll try to get that āparallax + normal + glossmapā working later. Parallax was shortest shader to this experience
Thanks for the tips Edem. I havenāt worked with shaders and am still a bit of a noob to Python, so I donāt entirely understand all this yet. I look forward to any .blends or other tips anyone might have.
Hereās a parallax mapping blend, itās quite crude, just a cube and a lowres mesh around it. Press P key to play and use arrow keys to move and turn. Sorry for slight texture warping, those bumps are quite tight
Wowā¦ thank you people! This makes a level designers job much easierā¦ still have to learn to use this in blender thoughā¦ But it seems that this does not support lighting yet? any chance of getting per pixel lighting to this?
Okay, here is .blend with parallax + normal mapping with diffuse and specular light.
I basicly added parallaxmapping shader to blender 2.42 bumpmap.blend exampleā¦ there is lot of room for improvements but itās a start
Speaking of shaders I would also like if possible a vertex light shader that would work for all the material settings currently available using āuse blender materialsā based on wether an object has a property. Right now I have to set multiply as blend mode or set the alpha button to get reaction from light and if I do that iām really limited like for example I can just forget about having the color white in a texture unless using texface which is also limiting if all I use is that.
Awesome shaders man! Please continue!
Hmm, it seems that these shaders donāt work with mistā¦ any possibility of getting them work with mist? And I would love dynamic shadowsā¦