All Questions
8
questions
0
votes
0
answers
130
views
How to change diffuse color in UPBGE real time
I have two materials assigned to an object. I checked both materials in Material> Options> Object Color. I want to change one of the materials without affecting the other material in real time. ...
1
vote
2
answers
74
views
bge assigning a different material to a selection of text
Is there some equivalent of font.move_select() from bpy that can be used during game runtime?
I'm building a karaoke GUI and I need a way to add a different color/...
0
votes
1
answer
515
views
Animating Material Nodes in the Game Engine
Is there a way to access object properties or any other properties from the material node editor?
Can a value assigned in Material Node editor be changed using python while the game is running?
0
votes
1
answer
1k
views
Replace material and texture with python in BGE
I've a game project done with BGE and i've done a menu where the user can choose the character and the characters have only different material and texture.
I'm not able to change material and texture ...
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
0
answers
95
views
Materials and properties, color changes react differently
in my game I have a ray sensor in my player-object searching for the property "block".
If the "block" property is found in a target-object, it changes the color of the target-object from [ 0.0, 1.0, ...
2
votes
1
answer
442
views
Mirror material works in blender but does not work in standalone game?
I have made a game with mirror material using the Render To Texture script. When I hit P in Blender, it works. But when I Saved as Runtime Game and opened my runtime game file, the mirror material was ...
7
votes
3
answers
9k
views
How to change material's color in blender game engine?
I am making a new racing game in BGE. I want my game to have a feature to change car color in-game (car consists of multiple materials, but currently I want to change body material). How do I make ...