Restore the original nebula location
This commit is contained in:
parent
62fea44949
commit
786f1d6050
|
|
@ -4,7 +4,7 @@ use glam::{mat3, vec2, vec3, Mat3, Vec3};
|
|||
use image::buffer::ConvertBuffer;
|
||||
use raytracing3::perlin::{self, Pipeline, Vertex};
|
||||
|
||||
const EXTENT: u32 = 8192;
|
||||
const EXTENT: u32 = 1024;
|
||||
|
||||
fn make_viewport(m: Mat3) -> [Vertex; 4] {
|
||||
let screen_coord = [vec2(-1., -1.), vec2(1., -1.), vec2(-1., 1.), vec2(1., 1.)];
|
||||
|
|
@ -23,8 +23,8 @@ fn main() {
|
|||
noiser.set_params(
|
||||
&queue,
|
||||
perlin::Params {
|
||||
origin: vec3(0., 0., -12.),
|
||||
radius: 12.,
|
||||
origin: vec3(0., 0., -30.),
|
||||
radius: 30.,
|
||||
},
|
||||
);
|
||||
let faces = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user