Skip to main content
2 votes
2 answers
102 views

I've been messing around with OpenGL/ModernGL in Python/Pygame, and after getting my images rendered to the screen, I have been having issues rotating them. I'm aware of the order that I need to ...
user32678267's user avatar
Advice
0 votes
3 replies
55 views

I am working on a project using GLSL shaders, and I would like to automate testing. My initial idea was to compare rendered output with a reference image (pixel comparison). However, this seems ...
eddy gardes's user avatar
0 votes
0 answers
28 views

I have a simple WebGL scene with a bunch of cubes instances created with Blender Geo Nodes and am trying to color them dynamically based on their instance ids. The problem is, if there are 15 ...
Mr.Coder's user avatar
  • 437
-1 votes
1 answer
113 views

I'm using Python and PYSide6/OpenGL to create a GLSL shader, in this shader I want to have a time component. The boilerplate code for the shader is set up fine, and renders at expected. However I can ...
Remy's user avatar
  • 5,318
Best practices
1 vote
1 replies
154 views

I have an array of simulation states that I want to pass to a fragment shader. In this scenario each state element should result in a pixel on the screen. In order to decide what the color of the ...
TinfoilPancakes's user avatar
Best practices
0 votes
0 replies
40 views

I need to display many (a lot) 3d trajectories with modernGL. For now, I chain the trajectories and I create two arrays only (one for all the vertices and one for their colors) that I pass as params ...
mike's user avatar
  • 55
-2 votes
1 answer
39 views

In threejs, i'm working on a showerbase project using shader. One of my material got visible mineral veins on it and I noticed when it wrap around the border, the veins are not aligned. I made a ...
Idea's user avatar
  • 1
1 vote
1 answer
414 views

I am new to graphics in general, so I am trying to learn from others. After drawing a triangle, a quad and then a sprite on top, I have been trying to get a batch of them on screen using instancing. ...
Abhijit Kar ツ's user avatar
1 vote
1 answer
323 views

I have freshly installed ursina in a virtual environment. I am trying to set up a basic scene with some lighting: from ursina import * class Pivot(Entity): def update(self): self....
AG-88301's user avatar
3 votes
1 answer
168 views

I'm trying to program a simple game in java using lwjgl and OpenGL but I'm not able to render a square to the window. Can someone help? The render function in render class is called evert frame and ...
Klaus Alles's user avatar
1 vote
1 answer
82 views

First of all, I'm using this library for post-processing in LibGDX: https://github.com/manuelbua/libgdx-contribs I added a new custom Effect to it by extending Filter and PostProcessorEffect. It's a ...
user38725's user avatar
  • 984
1 vote
2 answers
169 views

I'm trying to make my own shader for a THREE.js project I'm working on, and I wanted to make a GLSL shader as part of it for one of the meshes in my scene. However, despite writing very basic code for ...
Gift G.'s user avatar
  • 69
-1 votes
2 answers
155 views

In a texture atlas the individual images are arranged geometrically. The texture atlas itself is an image that can be viewed in any image viewer. I was wondering if it was possible, to simply dump all ...
user1785730's user avatar
  • 3,946
1 vote
1 answer
54 views

On my NVIDIA GPU these 2 shaders work fine: // VS #version 450 layout(location = 0) in vec4 inPosition; layout(location = 0) out struct { vec2 dummy; uvec4 variableInStruct; } testStruct; void ...
Rahn's user avatar
  • 5,605
2 votes
0 answers
86 views

I have a requirement to draw a knitting needle effect image. I implemented a rope texture shading effect using fragment shader code, but there are over 20,000 ropes. I'm using canvas.drawRect(),to ...
wei li's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
548