Skip to content

Commit

Permalink
Tutorials update for HARFANG v3.2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofra committed May 2, 2022
1 parent e2d167e commit 0c0ada9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion resources/core/pbr/blue_sky.hdr.meta
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"profiles": {
"default": {
"generate-probe": true,
"max-probe-size": 64,
"max-probe-size": 128,
"radiance-edge-fixup": true
}
}
Expand Down
2 changes: 1 addition & 1 deletion resources/core/pbr/probe.hdr.meta
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"profiles": {
"default": {
"generate-probe": true,
"max-probe-size": 256,
"max-probe-size": 128,
"radiance-edge-fixup": true
}
}
Expand Down
2 changes: 1 addition & 1 deletion scene_draw_to_texture.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ scene = hg.Scene()
hg.LoadSceneFromAssets("materials/materials.scn", scene, res, hg.GetForwardPipelineInfo())

-- create a 512x512 frame buffer to draw the scene to
frame_buffer = hg.CreateFrameBuffer(512, 512, hg.TF_RGBA32F, hg.TF_D24, 8, 'framebuffer') -- 8x MSAA
frame_buffer = hg.CreateFrameBuffer(512, 512, hg.TF_RGBA32F, hg.TF_D24, 4, 'framebuffer') -- 4x MSAA
color = hg.GetColorTexture(frame_buffer)

-- create the cube model
Expand Down
2 changes: 1 addition & 1 deletion scene_draw_to_texture.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
hg.LoadSceneFromAssets("materials/materials.scn", scene, res, hg.GetForwardPipelineInfo())

# create a 512x512 frame buffer to draw the scene to
frame_buffer = hg.CreateFrameBuffer(512, 512, hg.TF_RGBA32F, hg.TF_D24, 8, 'framebuffer') # 8x MSAA
frame_buffer = hg.CreateFrameBuffer(512, 512, hg.TF_RGBA32F, hg.TF_D24, 4, 'framebuffer') # 4x MSAA
color = hg.GetColorTexture(frame_buffer)

# create the cube model
Expand Down

0 comments on commit 0c0ada9

Please sign in to comment.