All Questions
Tagged with game-engine opengl
18
questions
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 ...
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 ...
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-...
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 ...
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
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 ...
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 '...
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 ...
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?
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 ...
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 ...
4
votes
1
answer
1k
views
How to blur part of the screen in the game engine?
I'm making an FPS game, and for some of my guns, i want to be able to zoom in so that i can see farther. This isn't the problem. What i really want is to make the rest of the screen (The part not ...
4
votes
1
answer
7k
views
How to access the window width/height inside a GLSL Shader?
Inside a Python script defining a GLSL shader used on the game engine, how do I access the width/height of the game window?