All Questions
6
questions
1
vote
0
answers
174
views
How can I make objects created with the GPU Module visible in the final render?
I used the code example for creating a triangle with custom shader from the official docs:
...
5
votes
0
answers
322
views
Custom shader script in compositor (de-linearize depth buffer)
Some months ago I wrote a minimal opengl 2.5d game engine with pre-rendered backgrounds (such old Resident evil, Alone in the dark and Final fantasy games). Depth is managed through a grayscale image ...
4
votes
1
answer
357
views
2D 'POST_VIEW' drawing with gpu.types.GPUShader(vertex_shader, fragment_shader)
I can use gpu.shader.from_builtin("2D_UNIFORM_COLOR") to draw a square to a view (the nodeview), and give it a single color, but I want to use a custom shader. Does ...
2
votes
1
answer
710
views
What is the substitute for gpu.export_shader in Blender 2.80?
I am trying to export GLSL from Blender materials in a scene. This call appears to have been removed from module "gpu" in Blender's Python API as of 2.80. Is there any substitute? How should I proceed?...
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 ...
4
votes
1
answer
2k
views
Can I access the render screen size in a custom filter 2D in the game engine?
I am using Blender Game Engines Filter 2D to make a post effect with GLSL.
In an fragment shader applied on the frame buffer, I want to access the size in pixels of that buffer in GLSL.
...