How bamdaniyanaresh-png/origin-shader-rd-port works
Newb X Origin is a Minecraft Bedrock RenderDragon shader port. The principal runtime workflow is Minecraft rendering inputs entering the shader materials, which apply world, atmosphere, and surface shading to produce the displayed scene. Its internal shader layer separates atmospheric scattering, cloud/sky rendering, lighting, terrain shading, and final color mapping. The README establishes the target renderer and product purpose; source excerpts and the index show several shader-module dependencies. Material-to-function wiring is not shown, so those connections are marked unverified. The build CLI is omitted as build infrastructure, not runtime product behavior.
Main entry points: project.json Material Project · origin_cloud.h Cloud And Sky · origin_atmosphere.h Atmosphere Scattering · origin_light.h World Lighting
Components 16
RenderDragon Materials
- Material Project
src/materials/project.json - Chunk Material
src/materials/RenderChunk/fragment.sc - Actor Materials
src/materials/Actor/fragment.sc - Sky Materials
src/materials/Sky/fragment.sc - Cloud Material
src/materials/Clouds/fragment.sc - Hand And Glint
src/materials/ItemInHandTextured/fragment.sc
Sky And Atmosphere
- Atmosphere Scattering
src/newb/functions/origin_atmosphere.h - Cloud And Sky
src/newb/functions/origin_cloud.h
World Shading
- World Lighting
src/newb/functions/origin_light.h - Terrain Shading
src/newb/functions/origin_terrain.h - Entity Shading
src/newb/functions/origin_entity.h
Shader Support
- Color Mapping
src/newb/functions/origin_tonemap.h - Shader Math
src/newb/functions/origin_math.h - Shader Configuration
src/newb/functions/origin_config.h - Shared Uniforms
src/common/uniforms
Other components
- Minecraft Bedrock
Connections 19
- Minecraft Bedrock → Material Project: supplies render inputs
README.md - Material Project → Chunk Material: selects materials
- Material Project → Actor Materials: selects materials
- Material Project → Sky Materials: selects materials
- Material Project → Cloud Material: selects materials
- Material Project → Hand And Glint: selects materials
- Atmosphere Scattering → Shader Configuration: includes settings
src/newb/functions/origin_atmosphere.h - Atmosphere Scattering → Shader Math: uses math
src/newb/functions/origin_atmosphere.h - Cloud And Sky → Atmosphere Scattering: includes scattering
src/newb/functions/origin_cloud.h - World Lighting → Cloud And Sky: includes sky functions
src/newb/functions/origin_light.h - Terrain Shading → World Lighting: uses lighting
src/newb/functions/origin_terrain.h - Entity Shading → World Lighting: uses lighting
src/newb/functions/origin_entity.h - Color Mapping → Shader Configuration: includes settings
src/newb/functions/origin_tonemap.h - Chunk Material → Terrain Shading: invokes shading
- Actor Materials → Entity Shading: invokes shading
- Sky Materials → Cloud And Sky: invokes sky rendering
- Cloud Material → Cloud And Sky: invokes cloud rendering
- Hand And Glint → Entity Shading: invokes shading
- Shared Uniforms → Material Project: provides shader inputs