Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

IES updates#965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
AnastaZIuk wants to merge64 commits intomaster
base:master
Choose a base branch
Loading
fromies
Open

IES updates#965

AnastaZIuk wants to merge64 commits intomasterfromies

Conversation

@AnastaZIuk
Copy link
Member

No description provided.

small change to make sure `ditt` doesn't autodelete
…ubresource bitflags to not trigger asserts, update examples_tests submodule
…experimental, no real validation), update examples_tests submodule
… with GPU converter, encode to EF_A2R10G10B10_UNORM_PACK32, update examples_tests submodule
…/hlsl/ies/sampler.hlsl, wipe CIESProfile::sample, save work (won't compile!)
…hlsl/pc.hlsl to allow me precompile unified uber shader, a little formatting, update examples_tests submodule
…add sample function overload to sampler.hlsl, create include/nbl/builtin/hlsl/ies/texture.hlsl to share texel write method between C++ & HLSL (the correct one including blending and corner sampling)TODO: need to update IES viewer example to compile again and clean bindings a bit (keep only octahedral image to write and sample from + add new ies::Texture::SInfo)
…sts & use NBL_CONST_MEMBER_FUNC, update examples_tests submodule
// ISOTROPIC_BITS = 0b011, texture to sample is Nx1, pretend v=middle always , and make u REPEAT or CLAMP_TO_BORDER
// FULL_THETA_BIT = 0b100, handle truncated domain and rotate by 45 degrees for anisotropic
// (certain combos wont work like 90 degree 2 symmetry domain & half theta), it really needs to be an 8 case label thing explicitly enumerated
vec2 nbl_glsl_IES_convert_dir_to_uv(vec3 dir,vec2 halfMinusHalfPixel)
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

TODO: forgot to wipe, not used anymore

float sum=dot(vec3(1.0f),abs(dir));
// TODO: when rewriting to HLSL this is not IES namespace or folder, this should be octahedral mapping sitting somewhere where the spherical/polar sits
// NOTE: I changed it to return NDC [-1,1]^2 instead of UV coords [0,1]^2
vec2 nbl_glsl_TODOnamespace_octahedral_mapping(vec3 dir)
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

TODO: forgot to wipe, not used anymore

# One could not use it at all and rely on C++ intellisense for .hlsl files,
# but then I found I must right click in a .hlsl file -> Rescan -> Rescan File
# to resolve include files, "Rescan solution" doesn't work
target_sources(NablaPRIVATE"${NBL_ROOT_PATH}/include/shadertoolsconfig.json")
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

TODO: actually remove it, its better to setup .hlsl exts to target C++ inteli

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@AnastaZIuk@devshgraphicsprogramming

[8]ページ先頭

©2009-2025 Movatter.jp