x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Scene Capture Cube - does it work on html5 ?

I have Scene Capture cube in my scene and it works perfectly in pc preview mode , but when i package it for HTML5 it appears green. is there a way to fix this ?

thanks

on pc alt text

on browser HTML5 version alt text

Product Version: UE 4.21
Tags:
pc-preview.jpg (110.6 kB)
html.jpg (64.6 kB)
more ▼

asked Jan 06 '19 at 11:45 AM in Packaging & Deployment

avatar image

RWMPGASBR
38 3 8

avatar image JeFrYx Jan 08 '19 at 09:39 AM

It is not working for me either, could anyone look through this ?

avatar image RWMPGASBR Jan 08 '19 at 01:47 PM

trying to solve this for months now, still no progress .

avatar image JeFrYx Jan 09 '19 at 02:51 PM

With unity you can do a cube capture easy using a camera and making it write to a render texture, so i dont think its a WebGL limitation. Any Epic Staff willing to kick in? this sounds like a bug.

P.D: I know its experimental, but would be neat to have a fix for this, id prefer to use UE than Unity for what im doing.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

It looks like UE4.21 has a hard cap harcoded into the SceneCaptureRendering.cpp class. It hard caps to SM4 (Shader Model 4). WebGL is ES3_1.

This must be the reason for the cubemap not rendering at all. Probably a warning message would have been cool.

I guess you could change it to ES3_1 and try to compile it.

more ▼

answered Jan 10 '19 at 09:19 AM

avatar image

JeFrYx
1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question