Getting a GLSL from Blender?
Getting a GLSL from Blender?
I was kinda confused where to post this.
Ive heard people can turn a Blender shader settings into a GLSL shader for the BGE. Is that true? Because i have achieved a very nice toon shader settings in Blender.
Ive heard people can turn a Blender shader settings into a GLSL shader for the BGE. Is that true? Because i have achieved a very nice toon shader settings in Blender.
Sorry but I dont have the answer, but a hint to post your question in a blender forum, because its more a blender internal thing. And I dont think that alot of people here knows much about blenders game engine... so try it here: http://blenderartists.org/forum/
If You have GLSL shader in Blender, You can use this shader also in Irrlicht. Of course You have to send sime important info's via callback.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
If you want to look on this link:
http://www.blender.org/development/rele ... materials/
...you will find which settings from your material will be recognized from blenders glsl shader. Than you should also download the blender source code, inside you will find the glsl shader which is used inside blender.
cheers
http://www.blender.org/development/rele ... materials/
...you will find which settings from your material will be recognized from blenders glsl shader. Than you should also download the blender source code, inside you will find the glsl shader which is used inside blender.
cheers
-
- Posts: 914
- Joined: Fri Aug 03, 2007 12:43 pm
- Location: South Africa
- Contact:
The basis of what he is asking, no its not possible to take the render settings directly into a glsl material shader.
Although, the blender forums have hundreds of toon shaders, so does the irrlicht forums. The settings can be transferred TO a shader no doubt, but i know blender doesnt have a "save material as glsl" , unless you are working in the shader view/nodes window (where i havent seen the option) but i might be wrong.
Although, the blender forums have hundreds of toon shaders, so does the irrlicht forums. The settings can be transferred TO a shader no doubt, but i know blender doesnt have a "save material as glsl" , unless you are working in the shader view/nodes window (where i havent seen the option) but i might be wrong.
So does that mean youre not sure?FuzzYspo0N wrote:
i know blender doesnt have a "save material as glsl" , unless you are working in the shader view/nodes window (where i havent seen the option) but i might be wrong.
Because i have heard the newer BGE supports Blender materials. And i think the BGE turns it to glsl.
The BGE supports "only" some of the material options, but this does not mean that you are able to produce an glsl shader from a material setting, over an excisting button. Thats something you have to do it by your own, by writing the shader.Because i have heard the newer BGE supports Blender materials. And i think the BGE turns it to glsl.
-
- Posts: 199
- Joined: Wed Nov 29, 2006 4:07 am