Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PBR in three.js

yomotsu
October 05, 2022

PBR in three.js

yomotsu

October 05, 2022
Tweet

More Decks by yomotsu

Other Decks in Technology

Transcript

  1. w S  Ͱ.FTI4UBOEBSE.BUFSJBM௥Ճ w S  Ͱ.FTI1IZTJDBM.BUFSJBM௥Ճ w .FTI1IZTJDBM/PEF.BUFSJBMͱ.FTI4UBOEBSE/PEF.BUFSJBM

    w ͍·΋ɺHM5'ͷ֦ுʹ൐ͬͯ 
 .FTI1IZTJDBM.BUFSJBM͸֦ு͞Εଓ͚Δ 
 ʢUSBOTNJTTJPOɺTIFFOɺJSJEFTDFODFͳͲʣ UISFFKTͰͷ1#3
  2. new THREE.MeshPhysicalMaterial( { color: new THREE.Color( 0xffffff ), emissive: new

    THREE.Color( 0x000000 ), roughness: 0.2, metalness: 0, normalMap: null, attenuationColor: new THREE.Color( 0xffffff ), iridescence: 0, clearcoat: 0.3, clearcoatRoughness: 0.25, transmission: 0, ior: 1.5, thickness: 10.0, sheen: 0, sheenColor: new THREE.Color( 0xffffff ), ior: 1.2, } )
  3. w ϦΞϧλΠϜ%͸ɺ1#3Ͱ͚ͬ͜͏ϦΞϧ 
 3FBMUJNF8FC%JTBDUVBMMZ RVJUFSFBMXJUI1#3 w ʮήʔϜʯʮ঎඼ʯͳͲ͍Ζ͍Ζ࢖͑Δ 
 $BOCFVTFEHBNFT QSPEVDUTBOEPUIFST

    w HM5'ͷ֦ு͸ɺ1#3ͷਐԽ 
 1#3JTFWPMWJOHXJUIHM5'FYUFOTJPOT w ֤ϥΠϒϥϦͷ1#3ਐԽ͍ͯ͠Δ 
 8FC%MJCTBSFBMTPFWPMWJOH $PODMVTJPOT
  4. w ͨͩ͠1#3͸͢͜͠ॏ͍ʜ 
 ಛʹUSBOTNJTTJPO 
 BDUVBMMZ TMJHIUMZIFBWZ w .FTI4UBOEBSE.BUFSJBM΍ 


    .FTI(PVSBVE.BUFSJBM΋ݕ౼͠Α͏ 
 ʢ.FTI(PVSBVE.BUFSJBM͸QFSWFSUFYͷ-BNCFSUϞσϧʣ 
 NBZDPOTJEFSVTJOHPUIFST $PODMVTJPOT