Skip to content

Mohammad9760/BlackBodyGodot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

BlackBodyGodot

this is a simple modification of the shader from this repo. you can include the shader header and use the BlackBodyRadiation function to calculate color of a blackbody with a temprature.

#include "BlackBody.gdshaderinc"
.
.
.
// use it like this
vec4 radiation = BlackBodyRadiation(temprature, true, true); //rgb = chromaticity a = luminance

example

About

BlackBody Radiation Estimation for Godot Engine

Topics

Resources

License

Stars

Watchers

Forks

Contributors