Skip to main content

All Questions

Tagged with
0 votes
0 answers
407 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 ...
user104998's user avatar
1 vote
0 answers
273 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 ...
corporeality_carl's user avatar
2 votes
2 answers
916 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-...
Lukong1515's user avatar
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 ...
qwazix's user avatar
  • 1,875
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?
ruhtra's user avatar
  • 31
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 ...
gandalf3's user avatar
  • 158k
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 ...
Samik's user avatar
  • 121
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 '...
Yvain's user avatar
  • 722
2 votes
1 answer
793 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 ...
Matteo Ragni's user avatar
5 votes
1 answer
798 views

Removing Anti-Aliasing from shadows in the BGE

How do I fix the anti-aliasing in edges of shadows in BGE?
Rogerio Gomes's user avatar
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/...
Eugen Schindler's user avatar
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      ...
X-27 is done with the network's user avatar
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 ...
Toger's user avatar
  • 623
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 ...
christai's user avatar
  • 793
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?
Dokkat's user avatar
  • 275

15 30 50 per page