forked from bartvdbraak/blender
Fix/tweak for cycles border render, it wasn't generating the exact same samples
when rendering a subset instead of the whole, mostly useful for debugging.
This commit is contained in:
parent
4ebcae7158
commit
4d1c7992d7
@ -119,7 +119,7 @@ void RenderBuffers::reset(Device *device, BufferParams& params_)
|
||||
|
||||
for(x=0; x<width; x++)
|
||||
for(y=0; y<height; y++)
|
||||
init_state[x + y*width] = hash_int_2d(x, y);
|
||||
init_state[x + y*width] = hash_int_2d(params.full_x+x, params.full_y+y);
|
||||
|
||||
device->mem_alloc(rng_state, MEM_READ_WRITE);
|
||||
device->mem_copy_to(rng_state);
|
||||
|
Loading…
Reference in New Issue
Block a user