Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [optimization]

The tag has no usage guidance.

0
votes
0answers
37 views

Optimizing sphere tracing, ray-traced hulls vs. gradient volumes

My rendering engine uses sphere-traced SDFs for surface representation and path-tracing for shading, so fast intersection times are important. I'm creating lots of organic/procedural surfaces, so I ...
3
votes
1answer
508 views

Is a branched discard to be avoided

When a simulating a camera, I may run into the situation that a black elliptic border is needed (rather than a rectangular image). In this case I have the option to discard the fragment in the ...
2
votes
1answer
301 views

How to get assembly code from GLSL Shader

I am new to optimizing shader code. Now that I have written an "optimzation", I want to make sure that it really speeds things up and is not just an unreadable version of what I intend to do. For this,...