1. All Categories
2. Computer Graphics

# Computer Graphics : Recent Questions and Answers (Page 5)

## Corrupt values when writing and reading from the same RWTexture2D in HLSL/DirectX?

I'm playing around with DirectX 12 ray tracing, and I'm trying to read and write data to a 32-bit RGBA floating point RWTexture2DArray within a DirectX 12 HLSL shader....

## How linear interpolation works between mipmaps?

Nearest interpolation between 2 texels means to take the texel whose center is nearest to a given coordinate to draw or, in other words, the texel the coordinate is matching....

## Dynamic Array in GLSL

Is it possible to have a dynamic array in a GLSL shader? For instance, what if I have something like this in my GLSL Shader:uniform int size;uniform SceneLights lights[size];void...

## Applying voltages to conductors in passive-matrix LCD

In the picture the horizontal and vertical lines are the conductors and the intersections are the pixel positionsI want to turn off...

## Combine box shadow with a signed distance field

I'm using 2d signed distance fields in my current project for drawing shapes (example: https://www.shadertoy.com/view/4llXD7) and I want to add drop shadows to them. At first I...

## Why is eye-based ray tracing preferred over light-based ray tracing?

It seems that virtually all path tracers use eye-based or view-based path tracing. That is, the light rays originate from the camera rather than the light source. The reason given...