Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
Best practices
0 votes
0 replies
35 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 ...
-2 votes
1 answer
32 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 ...
0 votes
0 answers
71 views

Im trying to apply the model's transforms by walking the node heirarchy, but the poses are wrong (im not trying to animate it, just load it in a pose by using the transforms given in the gtlf file) ...
1 vote
0 answers
146 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. ...
2 votes
1 answer
178 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....
3 votes
1 answer
162 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 ...
1 vote
1 answer
72 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 ...
1 vote
2 answers
145 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 ...
-1 votes
2 answers
137 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 ...
1 vote
1 answer
48 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,565
2 votes
0 answers
77 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
1 vote
0 answers
138 views

I am trying to learn the Slang shading language for use in a Vulkan framework and I was writing a very basic white only shader. module white; struct VertexIn { float3 position : Position; }; ...
0 votes
0 answers
81 views

I have an application that displays the northern lights on a map. I receive a lot of points that need to be rendered (2000+ points). Here’s what the final result should look like: Since this puts a ...
1 vote
0 answers
156 views

I have written a custom shader for both vs and fs. The shader is supposed to draw two textures one in the front face of the cube and the other is in the back face of the cube. What I'm struggling with ...
Y. A's user avatar
  • 21
3 votes
0 answers
139 views

While loading spir-v shaders in my application I suddenly started getting the following validation error: [ERROR: Validation] vkCreateShaderModule(): SPIR-V Capability DemoteToHelperInvocation was ...

15 30 50 per page
1
2 3 4 5
...
549

AltStyle によって変換されたページ (->オリジナル) /