Skip to main content

Questions tagged [glsl]

OpenGL Shading Language is a high-level shading language for describing custom materials and shaders

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

How can I ignore the occlusion relationship of the mesh in GLSL drawing?

gpu.state.depth_test_set("NONE") The drawing of the back side (white) should be occluded. ...
zeronofreya's user avatar
0 votes
0 answers
24 views

How to draw shapes of the same size in a perspective view using GLSL?

How to make two triangles the same size? Thanks! ...
zeronofreya's user avatar
0 votes
1 answer
21 views

How do I get drift-free, parallax mapping using position maps so I can stack decals on decals using a simple algorithm?

How do I get drift-free, parallax mapping using position maps, so I can stack decals on decals using a simple algorithm?
MarcClintDion's user avatar
0 votes
1 answer
104 views

How to import blender object with shaders into javascript project? [duplicate]

Have really cool-looking soap bubble in Blender, would like to use it in javascript project, but when I import it to javascript it's just gray ball. Is it possible to export glsl code that would be ...
Jan's user avatar
  • 101
5 votes
1 answer
117 views

with bgl deprecated in b3.5+ how to compensate for loss of GL_POLYGON_OFFSET_FILL and bgl.glPolygonOffset

I'm wondering how others have solved this problem now bgl is being deprecated. We have a few places in the Sverchok drawing code where we avoid zfighting between ...
zeffii's user avatar
  • 39.9k
1 vote
0 answers
342 views

Color alteration in writing and reading image textures using GPU module and Frament shader

I'm trying to understand how to use Fragment shaders in Blender for editing and saving some images. Collecting pieces of information here and there, I produced a simple code that read an image, draw ...
zompa84's user avatar
  • 51
2 votes
1 answer
417 views

GLSL: 2D space transform matrix of Custom Shader

Here is a template of build-in shader to draw a 2D Rectangle in viewport and that is good. ...
X Y's user avatar
  • 6,847
1 vote
0 answers
179 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: ...
Squis's user avatar
  • 111
0 votes
1 answer
41 views

Area Lamp in Viewport in Blender Internal Engine

I want to ask is there any way to make area lamp visible in viewport in Blender Internal Engine(GLSL) in Blender 2.79. I cannot use Blender 2.8 due to some hardware limitations that is why I use ...
Unskilled Naive's user avatar
0 votes
0 answers
130 views

Is it possible to render GLSL over video?

I've never worked with Blender, but was asking around about finding a way to render GLSL over video and a friend - who knew that the two could both be done in Blender, but not whether they could be ...
Sniggerfardimungus's user avatar