Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
2 votes
2 answers
918 views

Can I create an OpenGL 1.1 game on Blender 2.78 32-bit Game Engine?

Not Just OpenGl ES 1.1, is there a way to limit which OpenGL ES Blender will use, a warning of what the game is going to require or disable certain features so if a game Required OpenGL 2.0, with in-...
2 votes
1 answer
139 views

How do you create a KX_PolygonMaterial?

I try to attach a PyOpenGL Shader to an object using the setCustomMaterial() command but It raises an error: 'KX_BlenderMaterial' object has no attribute '...
0 votes
0 answers
409 views

capture data from different cameras

I need this for my video game that I want to start on in Blender Game Engine. I have not figured out how to use multiple cameras and make them give data out without them being active cams or without ...
5 votes
1 answer
800 views

Removing Anti-Aliasing from shadows in the BGE

How do I fix the anti-aliasing in edges of shadows in BGE?
1 vote
0 answers
274 views

Apply 2D filters to camera output in the Game Engine

is it possible to apply custom GLSL shader like the shaders you can set in the logic bricks called "Filter2D" to a camera that is not the main camera? I am rendering the output of a camera in the ...
1 vote
2 answers
4k views

How can I show the GLSL code generate by node?

Sorry for my english. how can i show the code generate by the node and can i write my own node Element? Can i add a uniform float var? in order to comunicate with the fragment shaders?
2 votes
1 answer
1k views

Is it possible to set the vertex shader without overriding the fragment shader?

I'd like to make vertices of an object randomly move around a little. To do this, I created a vertex shader. I assigned the vertex shader to the object's material with ...
1 vote
0 answers
234 views

Convert materials from cycles to bge as visible in viewport material shading mode

In 2.78 the material viewport shading mode of cycles is greatly improved. In fact it is even better than BI in some aspects - for example it now correctly displays cube projection textures, something ...
17 votes
0 answers
2k views

Per-Vertex lighting in GLSL?

How can I achieve per-vertex lighting (like in single/multi-texture shading) in GLSL with all of the other GLSL features (like buffer shadows, texture layers, etc.)? Bonus points if it can be done in ...
1 vote
1 answer
474 views

Why is texture colour changing in BGL?

I'm loading a texture into a simple GL_QUAD drawn with OpenGL with the help of bgl and ...
7 votes
1 answer
3k views

Draw geometry on screen using BGL module

I am trying to use the bgl module to draw triangles on top of the Blender interface. My understanding is that glBegin/glEnd are deprecated, and vertex array or display list or VBO should be used ...
2 votes
1 answer
794 views

Materials modified with GLSL in bge, return to original material (using only python)

I'm a noob and probably this is a completely silly question... Started using BGE two days ago... I'm using GLSL to visualize a distance field while running in standalone player. I'm doing it using ...
2 votes
1 answer
405 views

Some materials aren't rendered in the Blender Game Engine

As I described in the title, some materials aren't rendered. I'm not sure, but I think it only happens if I "copy paste" or append objects with their materials. I can solve this problem by recreating ...
0 votes
1 answer
340 views

Color is not applied when drawing fonts in BGE with blf and bgl

I am trying to get fonts rendered with different colors, but bgl.glColor4f (or any other variant of glColor) doesn't apply the color that I set with it. Please see https://github.com/eugenschindler/...
4 votes
1 answer
6k views

White edge around objects with alpha

I have a simple texture, of a bush (for a billboard plane) There are very annoying white artifacts around the edge of the plane. I am using GLSL shading in the BGE.              UV/Image Editor      ...

15 30 50 per page