Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Duplicated from
Yuliang/ICON
hehebox17
/
ICON
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
ICON
/
lib
/
renderer
/
gl
/
data
/
normal.fs
Yuliang
done
2d5f249
almost 4 years ago
raw
Copy download link
history
blame
contribute
delete
202 Bytes
#version
330
out vec4 FragColor;
in
vec3 CamNormal;
void
main()
{
vec3 cam_norm_normalized
=
normalize(CamNormal);
vec3 rgb
=
(cam_norm_normalized
+
1.0
)
/
2.0
;
FragColor
=
vec4(rgb,
1.0
);
}