Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't see .osgt file textures when I compile with emscripten in osgemscripten. #1333

Open
Holiflot opened this issue Aug 26, 2024 · 4 comments

Comments

@Holiflot
Copy link

I can't see the 3D sculpt textures. Is a .glsl file required? I've read similar things. If necessary, how can I implement it? If not, how can I solve it?

@xarray
Copy link

xarray commented Aug 26, 2024

Maybe you missed some plugins? As emscripten compiles all libraries as static, plugins must be linked manually and declared in the source file. Also you would have to write your own GLSL shaders as fixed pipeline is totally disabled in that cast.

BTW, osgverse (https://github.com/xarray/osgverse) provides full supports of OSG under WebGL1/WebGL2, even with a PBR pipeline. You may also have a look at it.

@Holiflot
Copy link
Author

Holiflot commented Aug 26, 2024

@xarray I know your project. I also implemented osgearth. I wrote it your project issue. I need to say really thank you. Okay, I will examine again osgverse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@xarray @Holiflot and others