51
4
submitted 11 months ago by cm0002@lemmy.world to c/gpu@programming.dev
52
2
submitted 11 months ago by cm0002@lemmy.world to c/gpu@programming.dev
53
3
submitted 11 months ago by cm0002@lemmy.world to c/gpu@programming.dev
54
7
submitted 11 months ago by cm0002@lemmy.world to c/gpu@programming.dev
55
12
submitted 11 months ago by cm0002@lemmy.world to c/gpu@programming.dev
56
9
submitted 11 months ago by cm0002@lemmy.world to c/gpu@programming.dev
57
9
submitted 11 months ago by cm0002@lemmy.world to c/gpu@programming.dev
58
18
submitted 11 months ago by cm0002@lemmy.world to c/gpu@programming.dev
59
11
submitted 11 months ago by cm0002@lemmy.world to c/gpu@programming.dev
60
1
submitted 11 months ago by cm0002@lemmy.world to c/gpu@programming.dev
61
7
submitted 11 months ago by cm0002@lemmy.world to c/gpu@programming.dev
62
6
submitted 1 year ago by cm0002@lemmy.world to c/gpu@programming.dev
63
16
submitted 1 year ago by cm0002@lemmy.world to c/gpu@programming.dev
64
6
submitted 1 year ago by cm0002@lemmy.world to c/gpu@programming.dev
65
7
submitted 1 year ago by cm0002@lemmy.world to c/gpu@programming.dev
66
2
submitted 1 year ago by cm0002@lemmy.world to c/gpu@programming.dev
67
10
submitted 1 year ago by cm0002@lemmy.world to c/gpu@programming.dev
68
2
The hidden cost of shader instructions (interplayoflight.wordpress.com)
submitted 1 year ago by olorin99@kbin.earth to c/gpu@programming.dev

I posted a few days ago a screenshot of the long shader ISA code produced by the RGA compiler for a single atan2() instruction. The post got quite a large engagement and it felt like a lot of peopl…

69
4
submitted 1 year ago by olorin99@kbin.earth to c/gpu@programming.dev
70
2
To Early-Z, or Not To Early-Z (therealmjp.github.io)
submitted 1 year ago by olorin99@kbin.earth to c/gpu@programming.dev

One of the things we often take for granted on GPUs is the idea of early Z testing. It’s the main reason why Z prepasses exist at all, and it’s one of the things that has allowed forward rendering to remain viable without being completely overwhelmed by pixel shader overdraw (instead it merely gets overwhelmed by quad overshading, but I digress)...

71
15
submitted 1 year ago by cm0002@lemmy.world to c/gpu@programming.dev
72
8
submitted 1 year ago by cm0002@lemmy.world to c/gpu@programming.dev
73
3

I've kept playing with shader programming and managed to export a trained neural network's weights as GLSL variable definitions. The code is ugly as hell as I've done a lot of quick experiments with it, and I went all-in with macros where functions would probably be better suited. I hope you still find it interesting.

Excluding neural network weights, the whole thing is ~300 lines of code and can run a few variations of a simple convolutional network.

74
9

cross-posted from: https://lemmy.pierre-couy.fr/post/678825

Hi ! I've been working on this article for the past few days. It would mean a lot to me if you could provide some feedback.

It is about implementing a physico-chemical simulation as my first attempt to write a shader. The code is surprisingly simple and short (less than 100 lines). The "Prerequisite" and "Update rules" sections, however, may need some adjustments to make them clearer.

Thanks for reading

75
9

This is an integration of the text effects system I'm working on https://font.skin/ with my game engine https://curva.app/ The character is drag-and-drop uploaded Daz 3D model in FBX format

Any video longer than this fails to upload!

view more: ‹ prev next ›

GPU

129 readers
2 users here now

GPU - 3D graphics programming, neural networks, WebGL, WebGPU, WebNN, shaders, generative textures and models, OpenGL, DirectX, Metal, Vulkan, Computer Generated Holography

founded 2 years ago
MODERATORS