🎨 The project is designed to create a physically-based rendering at mikumikudance.
HLSL Other
Clone or download
Latest commit 39f3a30 Mar 23, 2018

README.md

Ray-MMD

English   中文文档

Physically-Based Rendering

  logo

  Ray-MMD is a free, powerful library and an extension pack of mikumikudance, offering an easy way of adding physically-based rendering with high-freedom of operation. it is written in hlsl lang with DX9 env and based on mikumikueffect.

Screenshots:

link text link text link text link text

Download

 img  img

Requirement :

Features :

  • Physically-Based Material: albedo, metallic, smoothness/roughness, specular/reflectance, emissive, etc
  • Clear coat material with absorption to simulate a second layer
  • Cloth material with cloth-DFG to simulate a specular reflection
  • Anisotropic material to simulate a specular reflection
  • Special-Case Materials Wetness
  • Approximation subsurface scattering materials
  • Cook-Torrance microfacet specular BRDF (GGX) and burley diffuse BRDF
  • Physical light units
  • Multiple light sources (Point, spot, sun, reactangle, disk, sphere, tube, ies)
  • IES light profiles (point and spot light support)
  • Soft shadow (PCF, VSM, PSSM)
  • Omni light shadow support based on dual-paraboloid project
  • HDR linear lighting
  • Volumetric light (point, spot and ies light source support)
  • Volumetric fog (cube and sphere fog support)
  • Light shaft effect
  • Approximation atmospheric fog and sky scattering
  • Ground fog effect
  • Skybox based on RGBT encode
  • Image-based lighting based on RGBT encode
  • Screen Space Reflection
  • Screen Space Ambient Occlusition
  • Screen Space Subsurface Scattering
  • Post-Process Bokeh Depth Of Field
  • Post-Process Bloom
  • Post-Process Eye adaptation
  • Post-Process Tone-mapping (ACES-like,Reinhard,Hable,Hejl2015,NaughtyDog support)
  • Post-Process Color Balance
  • Post-Process FXAA
  • Post-Process SMAA

Resources :

  • HDRi
  • Text editor
    • Notepad++ [link].
    • Visual studio code [link].

Credits:

Financially supported on Patreon:

Platinum supporters:

  • Penti_mmd
  • Robert Shawarden
Gold supporters:
  • Sarashina - 更科
  • Birdway
Bronze supporters:
  • urara在処
  • rin kari
  • MMD-Seraph
  • Rich El

Thanks! and other supporters! (If you would like to be added or remove from this list Please contact me)

Contact:

  If you are a developer using this as part of your love and considering contacting me, you can submit code by Pull requests or Feel free to contact me via twitter and issues, i'll add your profile to team members, Thanks.

  • Reach me via Twitter: @Rui.

License (MIT)

Copyright (C) 2016-2018 Ray-MMD Developers. All rights reserved.

https://github.com/ray-cast/ray-mmd

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

References :

  • Moving to the Next Generation - The Rendering Technology of Ryse [link].
  • ACES Filmic Tone Mapping Curve [link].
  • Compact Normal Storage for small G-Buffers [link].
  • Convert Blinn-Phong to Beckmann distribution [link].
  • Spherical Gaussian approximation for Blinn-Phong, Phong and Fresnel [link].
  • Physically Based Area Lights [link].
  • Physics and Math of Shading [link].
  • Compact YCoCg Frame Buffer for small IBL-Buffer [link].
  • RGBM color encoding [link].
  • Horizon Occlusion for IBL [link].
  • Screen space glossy reflections [link].
  • Parallax Occlusion Map [link].
  • Convert Temperature to RGB [link].
  • Texture repetition [link].
  • Pre-Integrated Skin Shading [link]
  • Normal Blending in Detail [link]
  • An Approximation to the Chapman Grazing-Incidence Function for Atmospheric Scattering [link]
  • Bump map to normal [link]
  • Special-Case Materials Wetness [link]
  • Mip Fog [link]
  • Gaussian-kernel-calculator [link]
  • Ray Box Intersection on the GPU [link]
  • Hexagonal Bokeh Blur Revisited [link]
  • Practical Post-Process Depth of Field [link]
  • Approximation of the IBL’s DFG term for a cloth BRDF [link]
  • Real-Time Polygonal-Light Shading with Linearly Transformed Cosines[link]
  • Limb Darkening model [link]